2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 23:15:59 +00:00

Fix payments with zero tips.

This commit is contained in:
John Preston
2021-04-01 09:05:02 +04:00
parent e6ba6050e7
commit 0188719d04
2 changed files with 5 additions and 3 deletions

View File

@@ -476,7 +476,7 @@ void Form::submit() {
| (_shippingOptions.selectedId.isEmpty()
? Flag(0)
: Flag::f_shipping_option_id)
| (_invoice.tipsSelected ? Flag::f_tip_amount : Flag(0))),
| (_invoice.tipsMax > 0 ? Flag::f_tip_amount : Flag(0))),
MTP_long(_details.formId),
_peer->input,
MTP_int(_msgId),