summaryrefslogtreecommitdiffstats
path: root/matterclient
diff options
context:
space:
mode:
Diffstat (limited to 'matterclient')
-rw-r--r--matterclient/matterclient.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index d2bfbae7..bdd8cbc6 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -178,6 +178,7 @@ func (m *MMClient) Login() error {
}
b.Reset()
+ m.log.Debug("WsClient: connected")
m.WsSequence = 1
m.WsPingChan = make(chan *model.WebSocketResponse)
// only start to parse WS messages when login is completely done
@@ -630,6 +631,7 @@ func (m *MMClient) StatusLoop() {
m.Logout()
m.WsQuit = false
m.Login()
+ go m.WsReceiver()
}
}
time.Sleep(time.Second * 60)