From 51327a405651442ac47c4ce75363442fa323b592 Mon Sep 17 00:00:00 2001 From: Liam Stanley Date: Sat, 9 Jun 2018 06:47:40 -0400 Subject: Reconnect on quit. (irc) See #431 (#445) * potential fixes for #431 * go: fix formatting/gofmt/goreturns --- bridge/xmpp/xmpp.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bridge/xmpp/xmpp.go') diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index cb0da1b2..0e2d951c 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -2,14 +2,15 @@ package bxmpp import ( "crypto/tls" + "strings" + "time" + "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config" "github.com/42wim/matterbridge/bridge/helper" "github.com/jpillora/backoff" - "github.com/rs/xid" "github.com/matterbridge/go-xmpp" - "strings" - "time" + "github.com/rs/xid" ) type Bxmpp struct { -- cgit v1.2.3