Просмотр исходного кода

Ensure room is muted before sending events to it

Nick Mills-Barrett 2 лет назад
Родитель
Сommit
ac7ad471a5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      user.go

+ 1 - 1
user.go

@@ -440,7 +440,7 @@ func (user *User) syncChatDoublePuppetDetails(portal *Portal, justCreated bool)
 
 	// TODO sync mute status properly
 	if portal.GuildID != "" && user.bridge.Config.Bridge.MuteChannelsOnCreate {
-		go user.mutePortal(doublePuppetIntent, portal, false)
+		user.mutePortal(doublePuppetIntent, portal, false)
 	}
 }