feat(ui-flow): IPC handler for set-channel-mute-duration

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 21:45:07 -04:00
co-authored by Cursor
parent abd9b9446f
commit 512f62cda8
+5
View File
@@ -741,6 +741,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState() pushState()
return true return true
} }
if (t === 'set-channel-mute-duration') {
await platform.setChannelMuteDuration(msg.channelId, msg.durationMs ?? 0)
pushState()
return true
}
if (t === 'archive-thread') { if (t === 'archive-thread') {
await platform.archiveThread(msg.threadId, msg.archived !== false) await platform.archiveThread(msg.threadId, msg.archived !== false)
pushState() pushState()