Skip to content

feat(chat): adopt flipcash2 0.18.0 (cover pictures, featured groups, chatter sampling) - #1686

Merged
bmc08gt merged 2 commits into
code/cashfrom
chore/flipcash2-0.18.0
Oct 6, 2026
Merged

bmc08gt merged 2 commits into
code/cashfrom
chore/flipcash2-0.18.0

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Adopts flipcash2-client-protocol 0.18.0 (flipcash2-protobuf-api #135–#138).

Pins flipcash2-client-protocol 0.18.0 in gradle/libs.versions.toml, released from code-payments/flipcash2-client-protocol#25. The pin bump is its own commit.

  • Renames picture to profile_picture across StartChat, EditChat, the metadata mapping and ProfilePictureChanged.
  • Carries cover_picture into ChatMetadata and chat_metadata.cover_picture_json (Room 43 → 44, auto-migration). The upsert uses COALESCE, so a feed result that omits the cover keeps the cached one. CoverPictureChanged writes it unconditionally.
  • Maps COVER_PICTURE_BLOB_NOT_ACCEPTED for StartChat and EditChat to new CoverPictureBlobNotAccepted errors. Results are mapped by enum name, so the EditChatResponse.Result renumbering (DESCRIPTION_MODERATED 5 → 6) needs no other change here.
  • Handles RosterUpdate.MembershipChanged: RosterStateHolder applies the summary by version without refetching and leaves the member list alone.
  • Adds sampleChatters, setFeaturedGroups and getFeaturedGroups through ChatApi → ChatService → repository → ChatController, with domain and error types. No UI yet.

GetRoster is members-only now, but ChatController.getRoster has no callers in apps/, so nothing changes for preview or lobby views.

…r sampling contract

Rename the picture fields to profile_picture and carry cover_picture into
ChatMetadata, the metadata entity (Room 43 -> 44) and the DAO, where a feed
upsert without a cover keeps the cached one. Map the renumbered EditChat
result, the new StartChat cover case, CoverPictureChanged and
RosterUpdate.MembershipChanged (applied by version without touching the
member list). Add service, repository and controller wrappers with domain and
error types for SampleChatters, SetFeaturedGroups and GetFeaturedGroups.
@bmc08gt bmc08gt self-assigned this Oct 6, 2026
@github-actions github-actions Bot added type: feature New functionality area: network gRPC, connectivity, API, exchange rates area: build-system Gradle, convention plugins, build-logic labels Oct 6, 2026
@bmc08gt
bmc08gt force-pushed the chore/flipcash2-0.18.0 branch from 5662d8f to cf631a2 Compare October 6, 2026 16:59
@bmc08gt
bmc08gt marked this pull request as ready for review October 6, 2026 17:22
@bmc08gt
bmc08gt merged commit 031c093 into code/cash Oct 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build-system Gradle, convention plugins, build-logic area: network gRPC, connectivity, API, exchange rates type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant