Skip to content

Commit

Permalink
AutoMute: hate these edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Sqaaakoi committed Jul 21, 2024
1 parent 3b8e301 commit 1f84b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/autoMute/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function updateAutoMute() {
}

function autoMute(reason: string) {
if (!MediaEngineStore.isSelfMute()) {
if (!MediaEngineStore.isSelfMute() && SelectedChannelStore.getVoiceChannelId()) {
toggleSelfMute();
Toasts.show({
message: reason,
Expand Down

0 comments on commit 1f84b22

Please sign in to comment.