Update mautrix-go

This commit is contained in:
Tulir Asokan
2020-12-28 00:22:40 +02:00
parent eba66693b0
commit 0c3b08cd97
3 changed files with 4 additions and 1 deletions

View File

@@ -529,6 +529,7 @@ func (user *User) HandleStreamEvent(evt whatsappExt.StreamEvent) {
user.log.Infoln("Stream went to sleep soon after reconnection, making new post-connection ping in 20 seconds")
go func() {
time.Sleep(20 * time.Second)
// TODO if this happens during the post-login sync, it can get stuck forever
user.postConnPing()
}()
}