4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-26 23:29:25 +00:00

Print only debug messages when specified (xmpp). Closes #345

This commit is contained in:
Wim
2018-01-26 21:54:09 +01:00
parent 6523494e83
commit 6a047f8722
3 changed files with 3 additions and 1 deletions

View File

@ -53,6 +53,7 @@ type Protocol struct {
BindAddress string // mattermost, slack // DEPRECATED
Buffer int // api
Charset string // irc
Debug bool // general
EditSuffix string // mattermost, slack, discord, telegram, gitter
EditDisable bool // mattermost, slack, discord, telegram, gitter
IconURL string // mattermost, slack

View File

@ -110,7 +110,7 @@ func (b *Bxmpp) createXMPP() (*xmpp.Client, error) {
TLSConfig: tc,
//StartTLS: false,
Debug: true,
Debug: b.General.Debug,
Session: true,
Status: "",
StatusMessage: "",