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:
@@ -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),
|
||||
|
Reference in New Issue
Block a user