Skip to content

feat(chat): adopt flipcash2 0.17.0 (group descriptions) - #975

Merged
bmc08gt merged 3 commits into
chore/flipcash2-0.16.0from
chore/flipcash2-0.17.0
Oct 5, 2026
Merged

bmc08gt merged 3 commits into
chore/flipcash2-0.16.0from
chore/flipcash2-0.17.0

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Draft: blocked on the flipcash2-client-protocol 0.17.0 release (code-payments/flipcash2-client-protocol#24). Stacked on #974; retarget to main once that merges. Package.resolved needs re-resolving against the 0.17.0 tag after it's published.

Adopts the 0.17.0 contract (group descriptions), with no UI:

  • Conversation.description, nil when empty, and a descriptionChanged stream event applied by ConversationStore.
  • startChat takes an optional description; editChat takes a ConversationDescriptionEdit (unchanged, set, clear), defaulting to unchanged.
  • .descriptionModerated(flaggedCategory) on ErrorStartChat and ErrorEditChat, reported to analytics as DescriptionModerated.

Not handled yet: the description is in memory only (no schema bump, unlike the title), no caller sends one, and private-group start has no wrapper to carry it.

Add Conversation.description (in-memory), decode MetadataUpdate.DescriptionChanged
into the store, and map DESCRIPTION_MODERATED on StartChat and EditChat results.
EditChat models unchanged, set, and clear explicitly via
ConversationDescriptionEdit, since the wire tells them apart by whether the
wrapper is set.
@bmc08gt bmc08gt self-assigned this Oct 5, 2026
@bmc08gt
bmc08gt marked this pull request as ready for review October 5, 2026 22:21
@bmc08gt
bmc08gt merged commit 5f4c9e5 into chore/flipcash2-0.16.0 Oct 5, 2026
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