summaryrefslogtreecommitdiffstats
path: root/matterclient
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-08-15 20:27:36 +0200
committerWim <wim@42.be>2016-08-15 20:27:36 +0200
commit32e5f396e75927f10623ecdf8446a070506385eb (patch)
treec68cb33cc106827a57d14e0c44f41bf5ebbf6d2a /matterclient
parent6c6000dbbdda8d77b2a700bc9cca40052942ea42 (diff)
downloadmatterbridge-msglm-32e5f396e75927f10623ecdf8446a070506385eb.tar.gz
matterbridge-msglm-32e5f396e75927f10623ecdf8446a070506385eb.tar.bz2
matterbridge-msglm-32e5f396e75927f10623ecdf8446a070506385eb.zip
Make sure login works after logout
Diffstat (limited to 'matterclient')
-rw-r--r--matterclient/matterclient.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index d1621389..ff3036b4 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -586,6 +586,7 @@ func (m *MMClient) StatusLoop() {
m.log.Debug("WS PONG received")
case <-time.After(time.Second * 5):
m.Logout()
+ m.WsQuit = false
m.Login()
}
}