summaryrefslogtreecommitdiffstats
path: root/bridge/xmpp
diff options
context:
space:
mode:
authorLiam Stanley <me@liamstanley.io>2018-06-09 06:47:40 -0400
committerWim <wim@42.be>2018-06-09 12:47:40 +0200
commit51327a405651442ac47c4ce75363442fa323b592 (patch)
tree4011309b5c748f7e5e717a5a7fc62a4026c6f421 /bridge/xmpp
parent33bd60528be4eaf28ffd1065517ea41fde9ea62b (diff)
downloadmatterbridge-msglm-51327a405651442ac47c4ce75363442fa323b592.tar.gz
matterbridge-msglm-51327a405651442ac47c4ce75363442fa323b592.tar.bz2
matterbridge-msglm-51327a405651442ac47c4ce75363442fa323b592.zip
Reconnect on quit. (irc) See #431 (#445)
* potential fixes for #431 * go: fix formatting/gofmt/goreturns
Diffstat (limited to 'bridge/xmpp')
-rw-r--r--bridge/xmpp/xmpp.go7
1 files changed, 4 insertions, 3 deletions
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 {