feat(ui-flow): pass publicListing on create-guild IPC
Phase 144 (v0.8.109): create-guild forwards publicListing to platform.createGuild so the create-server modal listing checkbox is honored. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -39,7 +39,10 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
return true
|
||||
}
|
||||
if (t === 'create-guild') {
|
||||
await platform.createGuild({ name: msg.name || 'My Server' })
|
||||
await platform.createGuild({
|
||||
name: msg.name || 'My Server',
|
||||
publicListing: msg.publicListing !== false
|
||||
})
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user