summaryrefslogtreecommitdiffstats
path: root/bridge/xmpp
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-02-27 22:55:55 +0100
committerWim <wim@42.be>2018-02-27 23:22:12 +0100
commit6a727b9723a1e0b708ac2b5f406a599d086bb0ce (patch)
tree205a52897b2cbcc6d38f646c85bcf9566644e0ce /bridge/xmpp
parent02a5bc096fedea8a20e9693243b5291ed49cdf94 (diff)
downloadmatterbridge-msglm-6a727b9723a1e0b708ac2b5f406a599d086bb0ce.tar.gz
matterbridge-msglm-6a727b9723a1e0b708ac2b5f406a599d086bb0ce.tar.bz2
matterbridge-msglm-6a727b9723a1e0b708ac2b5f406a599d086bb0ce.zip
Use our own version of go-xmpp with debug output to logrus
Diffstat (limited to 'bridge/xmpp')
-rw-r--r--bridge/xmpp/xmpp.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go
index 1363096e..8b856d93 100644
--- a/bridge/xmpp/xmpp.go
+++ b/bridge/xmpp/xmpp.go
@@ -6,7 +6,7 @@ import (
"github.com/42wim/matterbridge/bridge/config"
"github.com/42wim/matterbridge/bridge/helper"
"github.com/jpillora/backoff"
- "github.com/mattn/go-xmpp"
+ "github.com/matterbridge/go-xmpp"
"strings"
"time"
)
@@ -105,6 +105,7 @@ func (b *Bxmpp) createXMPP() (*xmpp.Client, error) {
TLSConfig: tc,
Debug: b.General.Debug,
+ Logger: b.Log.Writer(),
Session: true,
Status: "",
StatusMessage: "",