Merge pull request #4476 from user202729/fix-tab-mute
Fix tab_mute command
This commit is contained in:
commit
cbb6ae860c
@ -238,7 +238,7 @@ def tab_mute(tab: apitypes.Tab) -> None:
|
||||
if tab is None:
|
||||
return
|
||||
try:
|
||||
tab.audio.set_muted(tab.audio.is_muted(), override=True)
|
||||
tab.audio.set_muted(not tab.audio.is_muted(), override=True)
|
||||
except apitypes.WebTabError as e:
|
||||
raise cmdutils.CommandError(e)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user