Merge pull request #4476 from user202729/fix-tab-mute

Fix tab_mute command
This commit is contained in:
Florian Bruhin 2018-12-15 18:21:51 +01:00 committed by GitHub
commit cbb6ae860c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)