Partially implement viewing channel gifts.

This commit is contained in:
John Preston
2025-01-10 18:06:11 +04:00
parent 2fd174ab9c
commit 81001e04e9
15 changed files with 81 additions and 56 deletions
+1 -1
View File
@@ -834,7 +834,7 @@ std::optional<Data::StarGift> FromTL(
}
std::optional<Data::UserStarGift> FromTL(
not_null<UserData*> to,
not_null<PeerData*> to,
const MTPuserStarGift &gift) {
const auto session = &to->session();
const auto &data = gift.data();