feat(ui-flow): IPC handler for set-channel-mute-duration
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -741,6 +741,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'set-channel-mute-duration') {
|
||||
await platform.setChannelMuteDuration(msg.channelId, msg.durationMs ?? 0)
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'archive-thread') {
|
||||
await platform.archiveThread(msg.threadId, msg.archived !== false)
|
||||
pushState()
|
||||
|
||||
Reference in New Issue
Block a user