Fix crash in the private fee disable.

This commit is contained in:
John Preston 2025-07-11 17:09:38 +04:00
parent a746b7abcf
commit 628c36c87d

View file

@ -3809,7 +3809,7 @@ void PeerMenuConfirmToggleFee(
MTP_flags((refund ? Flag::f_refund_charged : Flag())
| (removeFee ? Flag() : Flag::f_require_payment)
| (parent ? Flag::f_parent_peer : Flag())),
parent->input,
(parent ? parent->input : MTPInputPeer()),
user->inputUser
)).done([=] {
if (!parent) {