feat: treat caption events as speaker hints only

Made-with: Cursor
This commit is contained in:
patrick-motsch 2026-02-26 09:22:07 +01:00
parent 43e310a41d
commit 0cd8e9ebfa

View file

@ -515,7 +515,7 @@ class TeamsbotService:
# attribute audio-stream STT to likely speakers. They are not persisted.
if source in ("caption", "speakerHint"):
self._registerSpeakerHint(speaker, text)
if source == "speakerHint":
if source in ("caption", "speakerHint"):
return
# Filter out the bot's own speech entirely — captions of the bot's