From 6a727b9723a1e0b708ac2b5f406a599d086bb0ce Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 27 Feb 2018 22:55:55 +0100 Subject: Use our own version of go-xmpp with debug output to logrus --- bridge/xmpp/xmpp.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bridge') 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: "", -- cgit v1.2.3