Commit 38e1645
committed
fix(mqtt): emit initial microphone state and drop redundant String() coercion
- speakingIndicator: move #emitMicrophoneState outside the state-change
guard so the first detected state is published even when it matches
the initial 'silent' value. Internal #lastEmittedState dedupe still
prevents redundant IPC traffic.
- mediaStatusService: drop String(state) since state is already a string,
matching the PR description and updated docblock.
Addresses Gemini review on PR #2497.1 parent c0808b8 commit 38e1645
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | 220 | | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments