Leave the microphone alone when muting the speakers

Deafening silenced capture too, so coming back needed two clicks.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-20 06:53:59 +00:00
parent 98719d717e
commit 50b71eb12e
2 changed files with 0 additions and 2 deletions

View File

@@ -569,7 +569,6 @@ public final class TeamspeakConnection implements TS3Listener {
if (deaf) sound(SoundEvent.SOUND_PLAYBACK_MUTED);
deafened = deaf;
if (playback != null) playback.setDeafened(deaf);
if (microphone != null && deaf) microphone.setMuted(true);
if (!deaf) sound(SoundEvent.SOUND_PLAYBACK_UNMUTED);
pushSelfFlags();
}