feat(ui-flow): composer focus after set-activity-image (Phase 544)

Restore message composer focus after activity image upload IPC.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-24 13:15:11 -04:00
co-authored by Cursor
parent 4f0eac806a
commit a0f80b52f5
+6
View File
@@ -1017,6 +1017,12 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
mimeType: msg.mimeType,
slot: msg.slot || 'large'
})
if (platform.activeChannelId && platform.mode === 'guild') {
send({
type: 'composer-focus-channel',
channelId: platform.activeChannelId
})
}
pushState()
return true
}