aboutsummaryrefslogtreecommitdiff
path: root/connector/xmpp
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-26 23:01:34 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-26 23:01:34 +0100
commit717606a54dee2367cc3aa8c4cee19b0e62c442c5 (patch)
tree1b23a4c6c1b49a3a7054354a5ea06ccccc7056af /connector/xmpp
parent8a5ed3f507d37c52e2a68a23ced6942cc752221d (diff)
downloadeasybridge-717606a54dee2367cc3aa8c4cee19b0e62c442c5.tar.gz
easybridge-717606a54dee2367cc3aa8c4cee19b0e62c442c5.zip
Fix maintenance of connected status
Diffstat (limited to 'connector/xmpp')
-rw-r--r--connector/xmpp/xmpp.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/connector/xmpp/xmpp.go b/connector/xmpp/xmpp.go
index f1a75b2..4af016c 100644
--- a/connector/xmpp/xmpp.go
+++ b/connector/xmpp/xmpp.go
@@ -351,4 +351,5 @@ func (xm *XMPP) Close() {
}
xm.conn = nil
xm.connectorLoopNum += 1
+ xm.connected = false
}