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

Improve channel gifts viewing.

This commit is contained in:
John Preston
2025-01-22 22:12:50 +04:00
parent 27bba8250a
commit 80db076f38
9 changed files with 156 additions and 86 deletions

View File

@@ -808,6 +808,7 @@ std::optional<Data::StarGift> FromTL(
.id = data.vid().v,
.slug = qs(data.vslug()),
.title = qs(data.vtitle()),
.ownerAddress = qs(data.vowner_address().value_or_empty()),
.ownerName = qs(data.vowner_name().value_or_empty()),
.ownerId = (data.vowner_id()
? peerFromMTP(*data.vowner_id())