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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user