Commit 0c3b08cd authored by Tulir Asokan's avatar Tulir Asokan 🐈

Update mautrix-go

parent eba66693
Pipeline #1949 passed with stages
in 3 minutes and 39 seconds
......@@ -13,7 +13,7 @@ require (
gopkg.in/yaml.v2 v2.3.0
maunium.net/go/mauflag v1.0.0
maunium.net/go/maulogger/v2 v2.1.1
maunium.net/go/mautrix v0.8.0-rc.4
maunium.net/go/mautrix v0.8.0
)
replace github.com/Rhymen/go-whatsapp => github.com/tulir/go-whatsapp v0.3.13
......@@ -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()
}()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment