diff --git a/README.md b/README.md index b0a845e..8633eff 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling. +**Phase 680 (v0.8.655):** `announcement-follow-changed`, `retry-announcement-crosspost` IPC + composer blur sidecar. Bundle: `npm run test:ci-phase680`. + **Phase 679 (v0.8.654):** `thread-modal-open` → `thread-modal-opened`; `create-thread` passes `autoArchiveMinutes`. Bundle: `npm run test:ci-phase679`. **Phase 668 (v0.8.643):** IPC `composer-embed-prefetch` → platform `prefetchComposerEmbed`; `composer-embed-preview-clear` → `clearComposerEmbedPreview`. Bundle: `npm run test:ci-phase668`. diff --git a/index.js b/index.js index a6e958b..b402ced 100644 --- a/index.js +++ b/index.js @@ -640,11 +640,18 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { if (t === 'follow-announcement') { await platform.followAnnouncementChannel(msg.channelId) pushState() + send({ type: 'announcement-follow-changed', channelId: msg.channelId, following: true }) return true } if (t === 'unfollow-announcement') { await platform.unfollowAnnouncementChannel(msg.channelId) pushState() + send({ type: 'announcement-follow-changed', channelId: msg.channelId, following: false }) + return true + } + if (t === 'retry-announcement-crosspost') { + await platform.retryAnnouncementCrosspost(msg.messageId) + pushState() return true } if (t === 'add-guild-boost') {