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:
Raven Scott
2026-05-22 11:53:34 -04:00
co-authored by Cursor
parent 426e305879
commit edf7c478cd
+10
View File
@@ -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()