feat(ui-flow): sync-guild-mesh-triple-voice recovery IPC (Phase 810)
Triple topology refresh for voice-state gossip and guild-sync-ready voice. 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.
|
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
|
||||||
|
|
||||||
|
**Phase 810 (v0.8.777):** `sync-guild-mesh-triple-voice` recovery IPC. Bundle: `npm run test:ci-phase810`.
|
||||||
|
|
||||||
**Phase 809 (v0.8.776):** `sync-guild-mesh-triple-reconnect` recovery IPC. Bundle: `npm run test:ci-phase809`.
|
**Phase 809 (v0.8.776):** `sync-guild-mesh-triple-reconnect` recovery IPC. Bundle: `npm run test:ci-phase809`.
|
||||||
|
|
||||||
**Phase 808 (v0.8.775):** `sync-guild-mesh-triple-roles` recovery IPC. Bundle: `npm run test:ci-phase808`.
|
**Phase 808 (v0.8.775):** `sync-guild-mesh-triple-roles` recovery IPC. Bundle: `npm run test:ci-phase808`.
|
||||||
|
|||||||
@@ -1159,6 +1159,23 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
pushState({ structural: true, light: false })
|
pushState({ structural: true, light: false })
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if (t === 'sync-guild-mesh-triple-voice') {
|
||||||
|
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||||
|
const gid = platform.guild.guild.id
|
||||||
|
platform.emit('guild-mesh-topology', {
|
||||||
|
guildId: gid,
|
||||||
|
meshPeerCount: platform.guild?.peers?.size ?? 0,
|
||||||
|
manualRecovery: true
|
||||||
|
})
|
||||||
|
platform.emit('voice-state')
|
||||||
|
platform.emit('guild-sync-ready', { guildId: gid, voice: 1 })
|
||||||
|
if (typeof platform.requestGuildSyncFanout === 'function') {
|
||||||
|
platform.requestGuildSyncFanout()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
pushState({ structural: true, light: false, source: 'sync-guild-mesh-triple-voice' })
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (t === 'sync-guild-unread') {
|
if (t === 'sync-guild-unread') {
|
||||||
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||||
platform.emit('notification')
|
platform.emit('notification')
|
||||||
|
|||||||
Reference in New Issue
Block a user