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:
Raven Scott
2026-05-22 15:06:03 -04:00
co-authored by Cursor
parent 00cfaeb3bc
commit aed80652dc
+4 -1
View File
@@ -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
}