feat(ui-flow): handle set-channel-notification-level IPC
Route channel notification level changes from the desktop UI to the platform layer. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -736,6 +736,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'set-channel-notification-level') {
|
||||
await platform.setChannelNotificationLevel(msg.channelId, msg.level || 'all')
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'archive-thread') {
|
||||
await platform.archiveThread(msg.threadId, msg.archived !== false)
|
||||
pushState()
|
||||
|
||||
Reference in New Issue
Block a user