feat(channels): delete-channel IPC handler (v0.8.421)

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-24 01:04:46 -04:00
co-authored by Cursor
parent c995bde7a1
commit ed74ee17cd
+5
View File
@@ -996,6 +996,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState()
return true
}
if (t === 'delete-channel') {
await platform.deleteChannel(msg.channelId)
pushState()
return true
}
if (t === 'set-channel-user-limit') {
await platform.setChannelUserLimit(msg.channelId, msg.userLimit)
pushState()