From 32bbab8518a03ad04953986f21eeb4832e7331e5 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 24 Feb 2017 18:49:52 +0100 Subject: Do not use HTML parsemode by default. Set MessageFormat="HTML" to use it. (telegram) Closes #126 --- bridge/config/config.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bridge/config/config.go') 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 -- cgit v1.2.3