Synchronize muted channel state
This commit is contained in:
committed by
Brandon McGinty
parent
118799d112
commit
20c6997ab0
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user