Wire remove-guild-emoji and remove-guild-sticker IPC handlers.

Completes Phase 431 delete path from UI and agentctl scenarios.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-23 17:24:48 -04:00
co-authored by Cursor
parent faebb4a455
commit 75267b90e6
+10
View File
@@ -1076,6 +1076,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState() pushState()
return true return true
} }
if (t === 'remove-guild-emoji') {
await platform.removeGuildEmoji(msg.name)
pushState()
return true
}
if (t === 'upsert-guild-sticker') { if (t === 'upsert-guild-sticker') {
await platform.upsertGuildSticker({ await platform.upsertGuildSticker({
name: msg.name, name: msg.name,
@@ -1104,6 +1109,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState() pushState()
return true return true
} }
if (t === 'remove-guild-sticker') {
await platform.removeGuildSticker(msg.name)
pushState()
return true
}
if (t === 'upsert-guild-sound') { if (t === 'upsert-guild-sound') {
await platform.upsertGuildSound({ await platform.upsertGuildSound({
name: msg.name, name: msg.name,