Fix tab_mute command

This commit is contained in:
user202729 2018-12-15 23:38:25 +07:00
parent 4da680f41c
commit 01c25837d5

View File

@ -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)