2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Improve new gift transactions a bit.

This commit is contained in:
John Preston
2024-12-30 22:17:30 +04:00
parent 92582d8434
commit 7f6dfcf52f
5 changed files with 12 additions and 1 deletions

View File

@@ -144,6 +144,7 @@ constexpr auto kTransactionsLimit = 100;
.floodSkip = int(tl.data().vfloodskip_number().value_or(0)),
.converted = stargift && incoming,
.stargift = stargift.has_value(),
.giftUpgraded = tl.data().is_stargift_upgrade(),
.reaction = tl.data().is_reaction(),
.refunded = tl.data().is_refund(),
.pending = tl.data().is_pending(),