Phase 789: sync-guild-reactions IPC for mesh reaction refresh (v0.8.756)
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 789 (v0.8.756):** `sync-guild-reactions` → reaction emit + structural push. Bundle: `npm run test:ci-phase789`.
|
||||
|
||||
**Phase 788 (v0.8.755):** `sync-guild-mesh-reconnect` → offline recovery + structural push. Bundle: `npm run test:ci-phase788`.
|
||||
|
||||
**Phase 787 (v0.8.754):** `sync-guild-roles` → guild-member-roles emit + structural push. Bundle: `npm run test:ci-phase787`.
|
||||
|
||||
@@ -783,6 +783,19 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState({ structural: true, light: false, source: 'sync-guild-roles' })
|
||||
return true
|
||||
}
|
||||
if (t === 'sync-guild-reactions') {
|
||||
if (platform.mode === 'guild' || platform.mode === 'dm') {
|
||||
platform.emit('reaction', {
|
||||
guildId: platform.guild?.guild?.id,
|
||||
manualRecovery: true
|
||||
})
|
||||
if (typeof platform.requestGuildSyncFanout === 'function') {
|
||||
platform.requestGuildSyncFanout()
|
||||
}
|
||||
}
|
||||
pushState({ structural: true, light: false, source: 'sync-guild-reactions' })
|
||||
return true
|
||||
}
|
||||
if (t === 'sync-guild-mesh-reconnect') {
|
||||
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||
if (typeof platform.runOfflineRecoverySync === 'function') {
|
||||
|
||||
Reference in New Issue
Block a user