Update mautrix-go

This commit is contained in:
Tulir Asokan
2020-11-10 12:37:33 +02:00
parent 05b8d577f3
commit 56e4a67f42
6 changed files with 55 additions and 3 deletions

View File

@@ -515,6 +515,7 @@ func (user *User) intPostLogin() {
select {
case <-user.syncPortalsDone:
user.log.Debugln("Post-connection portal sync complete, unlocking processing of incoming messages.")
// TODO this is too short, maybe a per-portal duration?
case <-time.After(time.Duration(user.bridge.Config.Bridge.PortalSyncWait) * time.Second):
user.log.Warnln("Timed out waiting for portal sync to complete! Unlocking processing of incoming messages.")
}