feat(ui-flow): IPC handler for reorder-guild-custom-roles

Wire settings drag-reorder to platform.reorderGuildCustomRoles.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 21:38:01 -04:00
co-authored by Cursor
parent 64aa0a9932
commit abd9b9446f
+5
View File
@@ -1100,6 +1100,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState()
return true
}
if (t === 'reorder-guild-custom-roles') {
await platform.reorderGuildCustomRoles(msg.roleIds || [])
pushState()
return true
}
if (t === 'set-member-custom-roles') {
await platform.setMemberCustomRoles(msg.userId, msg.roleIds || [])
pushState()