Synchronize muted channel state

This commit is contained in:
Brandon McGinty (chatgpt)
2026-08-10 00:31:29 -04:00
committed by Brandon McGinty
parent 118799d112
commit 20c6997ab0
5 changed files with 46 additions and 14 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ func (b *Barnard) TreeItemBuild(item uiterm.TreeItem) []uiterm.TreeItem {
})
for _, subchannel := range cl {
displayName := subchannel.Name
if b.MutedChannels[subchannel.ID] {
if b.isChannelMuted(subchannel.ID) {
displayName = "[MUTED] #" + displayName
} else {
displayName = "#" + displayName