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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user