5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-26 04:05:40 +00:00

Make sure login works after logout

This commit is contained in:
Wim 2016-08-15 20:27:36 +02:00
parent 6c6000dbbd
commit 32e5f396e7

View File

@ -586,6 +586,7 @@ func (m *MMClient) StatusLoop() {
m.log.Debug("WS PONG received") m.log.Debug("WS PONG received")
case <-time.After(time.Second * 5): case <-time.After(time.Second * 5):
m.Logout() m.Logout()
m.WsQuit = false
m.Login() m.Login()
} }
} }