Skip to content

fix(profile): floor Minimum To Chat on the regional tip minimum - #892

Merged
bmc08gt merged 2 commits into
mainfrom
fix/min-tip-preset-floor
Sep 28, 2026
Merged

bmc08gt merged 2 commits into
mainfrom
fix/min-tip-preset-floor

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

Minimum To Chat floored the fee at 1 unit of the balance currency. In IDR, NGN or JMD that's a fraction of a cent, so the entry passed locally and the server rejected it with invalidAmount (Bugsnag 6aac6bd, 225 events from 39 users). The rejection dialog then named the 1-unit floor, which the entry already cleared, so users sent the same amount again. One JMD user was rejected 20 times in under two minutes.

The screen now judges the fee against TipFloor.systemMinimum, using the entry currency's tip-preset row or the USD fallback row. This is the floor the send flow applies, and the dialog uses its "X Minimum Tip" wording. With no presets or no rate, no local check runs and the server decides.

If the server still returns invalidAmount after that check passes, its floor isn't the preset one. The dialog then says "Amount Too Low" instead of repeating a floor the entry already met.

The SetMinDmChatInitFee failure log now includes the fee's currency and amount, which the Bugsnag events were missing.

The contract doesn't state this RPC's range. This assumes it's the tip-preset minimum, which is also what Android's MinimumTipEntryViewModel floors on. That still needs confirming with backend.

Regression_6aac6bdf6293b02dff667d25 covers a fee under its own currency's row, one at it, one judged against the USD fallback, and the no-presets/no-rate cases.

Fees already saved below the minimum stay on their profiles. #891 raises the sender's floor for those.

The screen floored the fee at 1 unit of the balance currency, a fraction
of a cent in IDR, NGN or JMD. Those entries passed locally and came back
from the server as invalidAmount, and the dialog then named the 1-unit
floor the entry already cleared, so users retried the same amount
(Bugsnag 6aac6bd).

Judge the fee against TipFloor.systemMinimum with the entry currency's
preset row, or the USD fallback, as the send flow does. A server
rejection after that check passes no longer repeats a floor, and the
failure log now carries the fee's currency and amount.
@bmc08gt bmc08gt self-assigned this Sep 28, 2026
@bmc08gt
bmc08gt merged commit aa843ab into main Sep 28, 2026
@bmc08gt
bmc08gt deleted the fix/min-tip-preset-floor branch October 5, 2026 15:14
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