feat(ui-flow): composer focus after accept-dm-voice, video pushState

This commit is contained in:
Raven Scott
2026-06-02 01:13:31 -04:00
parent 0c1579739d
commit 4877bd81e4
+7
View File
@@ -1864,6 +1864,12 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
const out = await platform.acceptDmVoiceCall()
send({ type: 'dm-voice-call-accepted', ...out })
pushState()
if (platform.mode === 'dm' && platform.activeChannelId) {
send({
type: 'composer-focus-channel',
channelId: platform.activeChannelId
})
}
return true
}
if (t === 'dismiss-dm-rekey-notice') {
@@ -1874,6 +1880,7 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
if (t === 'start-dm-video') {
const out = await platform.startDmVideoCall()
send({ type: 'dm-video-call-started', ...out })
pushState()
return true
}
if (t === 'create-group-dm') {