Explorar el Código

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

Tulir Asokan hace 3 años
padre
commit
35ed840a36
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()