Phase 787: sync-guild-roles IPC for mesh role refresh (v0.8.754)
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
|
||||
|
||||
**Phase 787 (v0.8.754):** `sync-guild-roles` → guild-member-roles emit + structural push. Bundle: `npm run test:ci-phase787`.
|
||||
|
||||
**Phase 786 (v0.8.753):** `sync-guild-typing` → typing emit + light push. Bundle: `npm run test:ci-phase786`.
|
||||
|
||||
**Phase 785 (v0.8.752):** `sync-guild-voice` → voice-state emit + fanout + structural push. Bundle: `npm run test:ci-phase785`.
|
||||
|
||||
@@ -773,6 +773,16 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState({ light: false, source: 'sync-guild-typing' })
|
||||
return true
|
||||
}
|
||||
if (t === 'sync-guild-roles') {
|
||||
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||
platform.emit('guild-member-roles', { guildId: platform.guild.guild.id })
|
||||
if (typeof platform.requestGuildSyncFanout === 'function') {
|
||||
platform.requestGuildSyncFanout()
|
||||
}
|
||||
}
|
||||
pushState({ structural: true, light: false, source: 'sync-guild-roles' })
|
||||
return true
|
||||
}
|
||||
if (t === 'sync-guild-voice') {
|
||||
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||
platform.emit('voice-state')
|
||||
|
||||
Reference in New Issue
Block a user