feat(ui-flow): thread pin/mute IPC handlers (v0.8.99)
Wire toggle-thread-pin and set-thread-notification-muted through the UI flow bridge. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -673,6 +673,16 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'toggle-thread-pin') {
|
||||
await platform.toggleThreadPinned(msg.threadId)
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'set-thread-notification-muted') {
|
||||
await platform.setThreadNotificationMuted(msg.threadId, msg.muted !== false)
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'archive-thread') {
|
||||
await platform.archiveThread(msg.threadId, msg.archived !== false)
|
||||
pushState()
|
||||
|
||||
Reference in New Issue
Block a user