Skip to content

fix(channels): a conversation the account has left leaves the inbox - #537

Merged
setkyar merged 1 commit into
mainfrom
fix/left-conversations-leave-inbox
Dec 4, 2026
Merged

setkyar merged 1 commit into
mainfrom
fix/left-conversations-leave-inbox

Conversation

@setkyar

@setkyar setkyar commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

When a channel reports that the account itself is no longer in a conversation (participant.remove with isSelf: true), the conversation is archived: it leaves the inbox and its messages are kept. When the account is reported back in, it returns.

Before, such a conversation stayed in the inbox as a thread nobody could answer.

  • event-processor.ts: archive on account-left, restore on the account's own participant.upsert
  • protocol doc updated
  • integration test covers leaving, the unseen group, and returning

No migration.

Its messages are kept, and it returns when the account is reported back in.
@setkyar
setkyar merged commit e50f741 into main Dec 4, 2026
9 checks passed
@setkyar
setkyar deleted the fix/left-conversations-leave-inbox branch December 4, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant