mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix crash in the private fee disable.
This commit is contained in:
@@ -3809,7 +3809,7 @@ void PeerMenuConfirmToggleFee(
|
|||||||
MTP_flags((refund ? Flag::f_refund_charged : Flag())
|
MTP_flags((refund ? Flag::f_refund_charged : Flag())
|
||||||
| (removeFee ? Flag() : Flag::f_require_payment)
|
| (removeFee ? Flag() : Flag::f_require_payment)
|
||||||
| (parent ? Flag::f_parent_peer : Flag())),
|
| (parent ? Flag::f_parent_peer : Flag())),
|
||||||
parent->input,
|
(parent ? parent->input : MTPInputPeer()),
|
||||||
user->inputUser
|
user->inputUser
|
||||||
)).done([=] {
|
)).done([=] {
|
||||||
if (!parent) {
|
if (!parent) {
|
||||||
|
Reference in New Issue
Block a user