Fixed sort of received star gifts.

This commit is contained in:
23rd
2025-03-20 10:35:15 +03:00
parent fe0c1acd79
commit 0d346610a2
3 changed files with 4 additions and 13 deletions
+1
View File
@@ -816,6 +816,7 @@ std::optional<Data::StarGift> FromTL(
.lastSaleDate = data.vlast_sale_date().value_or_empty(),
.upgradable = data.vupgrade_stars().has_value(),
.birthday = data.is_birthday(),
.soldOut = data.is_sold_out(),
});
}, [&](const MTPDstarGiftUnique &data) {
const auto total = data.vavailability_total().v;