2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Add FileSizeLimitBox and pass "ref" to premium payment.

This commit is contained in:
John Preston
2022-05-23 18:46:15 +04:00
parent 62f42eabb0
commit d1907083ed
20 changed files with 211 additions and 350 deletions

View File

@@ -453,7 +453,7 @@ void ApiWrap::sendMessageFail(
: tr::lng_error_noforwards_group(tr::now)
}, .duration = kJoinErrorDuration });
} else if (error.type() == qstr("PREMIUM_ACCOUNT_REQUIRED")) {
Settings::ShowPremium(&session());
Settings::ShowPremium(&session(), "premium_stickers");
}
if (const auto item = _session->data().message(itemId)) {
Assert(randomId != 0);