Phase 790: sync-guild-emojis IPC for manual emoji mesh recovery.

Emits guild-emoji and requests sync fanout before structural push.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 21:59:14 -04:00
co-authored by Cursor
parent ca9a8f54e2
commit 06d2744187
2 changed files with 15 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling. Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
**Phase 790 (v0.8.757):** `sync-guild-emojis` → guild-emoji emit + structural push. Bundle: `npm run test:ci-phase790`.
**Phase 789 (v0.8.756):** `sync-guild-reactions` → reaction emit + structural push. Bundle: `npm run test:ci-phase789`. **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 788 (v0.8.755):** `sync-guild-mesh-reconnect` → offline recovery + structural push. Bundle: `npm run test:ci-phase788`.
+13
View File
@@ -796,6 +796,19 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState({ structural: true, light: false, source: 'sync-guild-reactions' }) pushState({ structural: true, light: false, source: 'sync-guild-reactions' })
return true return true
} }
if (t === 'sync-guild-emojis') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
platform.emit('guild-emoji', {
guildId: platform.guild.guild.id,
manualRecovery: true
})
if (typeof platform.requestGuildSyncFanout === 'function') {
platform.requestGuildSyncFanout()
}
}
pushState({ structural: true, light: false, source: 'sync-guild-emojis' })
return true
}
if (t === 'sync-guild-mesh-reconnect') { if (t === 'sync-guild-mesh-reconnect') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) { if (platform.mode === 'guild' && platform.guild?.guild?.id) {
if (typeof platform.runOfflineRecoverySync === 'function') { if (typeof platform.runOfflineRecoverySync === 'function') {