Synchronize muted channel state
This commit is contained in:
committed by
Brandon McGinty
parent
118799d112
commit
20c6997ab0
@@ -334,7 +334,7 @@ func (b *Barnard) setTransmit(ui *uiterm.Ui, val int) {
|
||||
b.Notify("error", "me", "no tx while disconnected")
|
||||
b.Tx = false
|
||||
b.UpdateGeneralStatus("no tx while disconnected", true)
|
||||
} else if b.MutedChannels[b.Client.Self.Channel.ID] {
|
||||
} else if b.isChannelMuted(b.Client.Self.Channel.ID) {
|
||||
// Check if current channel is muted
|
||||
b.Notify("error", "me", "cannot transmit in muted channel")
|
||||
b.Tx = false
|
||||
|
||||
Reference in New Issue
Block a user