Forward boostsEnabled in update-guild-settings IPC and enable boosts in UI flow scenario.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 18:52:13 -04:00
co-authored by Cursor
parent a9ba48d41b
commit 5f216a616c
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -1241,7 +1241,8 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
await platform.updateGuildSettings({
name: msg.name,
iconHash: msg.iconHash,
nsfwGateEnabled: msg.nsfwGateEnabled
nsfwGateEnabled: msg.nsfwGateEnabled,
boostsEnabled: msg.boostsEnabled
})
pushState()
if (platform.activeChannelId && platform.mode === 'guild') {
+1
View File
@@ -50,6 +50,7 @@ async function runFullUiFlowScenario (platform) {
type: 'set-automod-config',
config: { enabled: true, maxMentions: 4, blockInvites: true }
})
await ipc(platform, { type: 'update-guild-settings', boostsEnabled: true })
await ipc(platform, { type: 'add-guild-boost', amount: 1 })
await ipc(platform, { type: 'set-presence', status: 'idle', customStatus: 'smoke testing' })
view = await platform.view()