refactor(user_mute): remove unnecessary _bot_speaking assignment in _handle_bot_stopped_speaking

The _bot_speaking flag does not need to be set in this method,
so the redundant assignment has been removed.
This commit is contained in:
okue
2026-01-21 23:58:49 +09:00
parent 768d3958dd
commit 4a724379fc

View File

@@ -51,6 +51,5 @@ class MuteUntilFirstBotCompleteUserMuteStrategy(BaseUserMuteStrategy):
return not self._first_speech_handled
async def _handle_bot_stopped_speaking(self, frame: BotStoppedSpeakingFrame):
self._bot_speaking = False
if not self._first_speech_handled:
self._first_speech_handled = True