Browse Source

Don't try to do periodic sync on status broadcast chat

Tulir Asokan 3 years ago
parent
commit
35ed840a36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      user.go

+ 1 - 1
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()