4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-27 04:09:24 +00:00

Add MessageSplit option to split messages on MessageLength (irc). Closes #281

This commit is contained in:
Wim
2017-11-24 23:27:13 +01:00
parent 7ec95f786d
commit e0cbb69a4f
4 changed files with 25 additions and 2 deletions

View File

@ -62,10 +62,11 @@ type Protocol struct {
Login string // mattermost, matrix
MediaServerDownload string
MediaServerUpload string
MessageQueue int // IRC, size of message queue for flood control
MessageDelay int // IRC, time in millisecond to wait between messages
MessageLength int // IRC, max length of a message allowed
MessageFormat string // telegram
MessageLength int // IRC, max length of a message allowed
MessageQueue int // IRC, size of message queue for flood control
MessageSplit bool // IRC, split long messages with newlines on MessageLength instead of clipping
Muc string // xmpp
Name string // all protocols
Nick string // all protocols