From 35ed840a36d6fdb27bde87f5fda745d0d106d00f Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 11 Jul 2022 19:47:10 +0300 Subject: [PATCH] Don't try to do periodic sync on status broadcast chat --- user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.go b/user.go index 0a6cb0b..2c17ee7 100644 --- a/user.go +++ b/user.go @@ -264,7 +264,7 @@ func (user *User) EnqueuePuppetResync(puppet *Puppet) { } func (user *User) EnqueuePortalResync(portal *Portal) { - if portal.IsPrivateChat() || portal.LastSync.Add(resyncMinInterval).After(time.Now()) { + if !portal.IsGroupChat() || portal.LastSync.Add(resyncMinInterval).After(time.Now()) { return } user.resyncQueueLock.Lock()