Repository navigation
feat(flipcash): adopt ocp 0.7.0 and flipcash2 0.19.0 contracts - #1781
Merged
bmc08gt merged 4 commits intoOct 14, 2026
Merged
Conversation
…_mint_balances DmPayment.Action moved to a top-level PaymentAction. Map CashContent.receiver onto MessageContent.Cash and expose GetBalancesRequest.exclude_per_mint_balances on BalanceApi.
This was referenced Oct 14, 2026
bmc08gt
marked this pull request as ready for review
October 14, 2026 21:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins ocp-client-protocol 0.7.0 (code-payments/ocp-client-protocol#10) and flipcash2-client-protocol 0.19.0 (code-payments/flipcash2-client-protocol#27), both published, in
gradle/libs.versions.toml, one commit per package.Adopts the contract changes:
ChatMetadata.DmPayment.Actionmoved to the top-levelPaymentAction.DmPaymentMetadataand its test were the only users.PollApi,PollService,PollRepository,PollController, the Hilt binding, andCreatePollError/GetPollError/GetPollsError/VoteError.TEXT_MODERATEDcarries the flagged category throughtoFlaggedCategory().CashContent.receivermaps toMessageContent.Cash.receiver. It's in memory only; the chat entity doesn't store it.BalanceApi.getBalancestakesexcludePerMintBalances, defaulting to false, so requests are unchanged.New oneof cases need no handling yet: system messages already render
fallback_text, and a poll widget falls into the existing unsupported-widget bubble.Left for the feature work: poll domain models (the layers pass the generated types through), a
WidgetContent.Pollcase (it breaks four exhaustivewhens and needs a DB column),MintBalance.quarks, link previews, and persistingreceiver.