Always push UI state after leave-voice IPC.
Ensures voice chrome clears even when platform leave is a noop. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -587,11 +587,10 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
if (t === 'leave-voice') {
|
||||
const payload = await platform.leaveVoiceChannel()
|
||||
resetVoiceCaptureTrace()
|
||||
pushState()
|
||||
if (!payload) {
|
||||
log.debug('leave-voice noop', { reason: 'not in voice channel' })
|
||||
return true
|
||||
}
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'start-screen-share') {
|
||||
|
||||
Reference in New Issue
Block a user