Fix build with MSVC.

This commit is contained in:
John Preston
2026-04-01 00:34:40 +07:00
parent 3ec37968e9
commit 76c5a7f8d0
@@ -382,7 +382,7 @@ MTPInputInvoice Form::inputInvoice() const {
}
}
const auto spendPeer = credits->spendPurposePeerId
? _session->data().peer(credits->spendPurposePeerId)
? _session->data().peerLoaded(credits->spendPurposePeerId)
: nullptr;
using Flag = MTPDinputStorePaymentStarsTopup::Flag;
return MTP_inputInvoiceStars(