Version 5.10.2: Hide unique gift userpic.

This commit is contained in:
John Preston 2025-01-07 21:31:06 +04:00
parent 86319be256
commit 88a310a86e

View file

@ -39,7 +39,7 @@ constexpr auto kPerPage = 50;
.from = ((gift.anonymous || !gift.fromId) .from = ((gift.anonymous || !gift.fromId)
? nullptr ? nullptr
: to->owner().peer(gift.fromId).get()), : to->owner().peer(gift.fromId).get()),
.userpic = true, .userpic = !gift.info.unique,
.hidden = gift.hidden, .hidden = gift.hidden,
.mine = to->isSelf(), .mine = to->isSelf(),
}; };