Ensure room is muted before sending events to it

This commit is contained in:
Nick Mills-Barrett
2023-02-24 17:05:01 +00:00
committed by Nick Mills-Barrett
parent a6c3b84db5
commit ac7ad471a5

View File

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