feat(channels): delete-channel IPC handler (v0.8.421)
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user