summaryrefslogtreecommitdiffstats
path: root/bridge/config
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-02-24 18:49:52 +0100
committerWim <wim@42.be>2017-02-24 18:50:16 +0100
commit32bbab8518a03ad04953986f21eeb4832e7331e5 (patch)
tree0d97e9d1a51ff7837f4f61712b1618adc053a7cc /bridge/config
parent84c0b745af8349f6dff185c21751f51b1f7d3101 (diff)
downloadmatterbridge-msglm-32bbab8518a03ad04953986f21eeb4832e7331e5.tar.gz
matterbridge-msglm-32bbab8518a03ad04953986f21eeb4832e7331e5.tar.bz2
matterbridge-msglm-32bbab8518a03ad04953986f21eeb4832e7331e5.zip
Do not use HTML parsemode by default. Set MessageFormat="HTML" to use it. (telegram) Closes #126
Diffstat (limited to 'bridge/config')
-rw-r--r--bridge/config/config.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index 5077abb5..23f8db18 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -31,7 +31,7 @@ type Protocol struct {
IconURL string // mattermost, slack
IgnoreNicks string // all protocols
Jid string // xmpp
- Login string // mattermost
+ Login string // mattermost, matrix
Muc string // xmpp
Name string // all protocols
Nick string // all protocols
@@ -40,18 +40,19 @@ type Protocol struct {
NickServPassword string // IRC
NicksPerRow int // mattermost, slack
NoTLS bool // mattermost
- Password string // IRC,mattermost,XMPP
+ Password string // IRC,mattermost,XMPP,matrix
PrefixMessagesWithNick bool // mattemost, slack
Protocol string //all protocols
MessageQueue int // IRC, size of message queue for flood control
MessageDelay int // IRC, time in millisecond to wait between messages
+ MessageFormat string // telegram
RemoteNickFormat string // all protocols
Server string // IRC,mattermost,XMPP,discord
ShowJoinPart bool // all protocols
SkipTLSVerify bool // IRC, mattermost
Team string // mattermost
Token string // gitter, slack, discord
- URL string // mattermost, slack
+ URL string // mattermost, slack, matrix
UseAPI bool // mattermost, slack
UseSASL bool // IRC
UseTLS bool // IRC