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