mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-10 22:19:26 +01:00
Make sure login works after logout
This commit is contained in:
parent
6c6000dbbd
commit
32e5f396e7
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user