Support gifting premium for stars.

This commit is contained in:
John Preston
2025-03-04 14:13:39 +04:00
parent bd70a05861
commit 7d2878d81c
26 changed files with 321 additions and 112 deletions
+3
View File
@@ -479,6 +479,9 @@ rpl::producer<rpl::no_value, QString> PremiumGiftCodeOptions::request() {
for (const auto &tlOption : result.v) {
const auto &data = tlOption.data();
tlMapOptions[data.vusers().v].push_back(tlOption);
if (qs(data.vcurrency()) == Ui::kCreditsCurrency) {
continue;
}
const auto token = Token{ data.vusers().v, data.vmonths().v };
_stores[token] = Store{