diff options
author | Humorhenker <36549980+Humorhenker@users.noreply.github.com> | 2020-01-30 00:02:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 00:02:33 +0100 |
commit | fc30b1bacc4ceb6dd978c5838609371fa6abd801 (patch) | |
tree | c52a2ebfee544fc4de3c033aaacfa4424027e28d /bridge/config/config.go | |
parent | 0dd19af6e8b3c122ddc8c96e5ab259d89023d561 (diff) | |
download | matterbridge-msglm-fc30b1bacc4ceb6dd978c5838609371fa6abd801.tar.gz matterbridge-msglm-fc30b1bacc4ceb6dd978c5838609371fa6abd801.tar.bz2 matterbridge-msglm-fc30b1bacc4ceb6dd978c5838609371fa6abd801.zip |
Add QuoteLengthLimit option (telegram) fixes #963 (#985)
* QuoteLengthLimit option added to limit max. quoted message length if QuoteLengthLimit = 0 the whole message will be quoted
Diffstat (limited to 'bridge/config/config.go')
-rw-r--r-- | bridge/config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go index 5da535dc..105d568f 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -116,6 +116,7 @@ type Protocol struct { Protocol string // all protocols QuoteDisable bool // telegram QuoteFormat string // telegram + QuoteLengthLimit int // telegram RejoinDelay int // IRC ReplaceMessages [][]string // all protocols ReplaceNicks [][]string // all protocols |