diff options
author | Wim <wim@42.be> | 2020-03-28 23:05:59 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2020-03-29 15:03:24 +0200 |
commit | 29f658fd3cda71aec88e5eb3fb59b30b19be5508 (patch) | |
tree | 5a79d56604f79ed6a09486c825acc219de8b54ac | |
parent | a30bb8fed072331238db3d6bdb94ee034e777bff (diff) | |
download | matterbridge-msglm-29f658fd3cda71aec88e5eb3fb59b30b19be5508.tar.gz matterbridge-msglm-29f658fd3cda71aec88e5eb3fb59b30b19be5508.tar.bz2 matterbridge-msglm-29f658fd3cda71aec88e5eb3fb59b30b19be5508.zip |
Use DebugWriter after upstream changes (xmpp)
-rw-r--r-- | bridge/xmpp/xmpp.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 8f993a83..b5263017 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -114,6 +114,9 @@ func (b *Bxmpp) createXMPP() error { ServerName: strings.Split(b.GetString("Jid"), "@")[1], InsecureSkipVerify: b.GetBool("SkipTLSVerify"), // nolint: gosec } + + xmpp.DebugWriter = b.Log.Writer() + options := xmpp.Options{ Host: b.GetString("Server"), User: b.GetString("Jid"), @@ -122,7 +125,6 @@ func (b *Bxmpp) createXMPP() error { StartTLS: true, TLSConfig: tc, Debug: b.GetBool("debug"), - Logger: b.Log.Writer(), Session: true, Status: "", StatusMessage: "", |