mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Make channel gifts wearing / transferring.
This commit is contained in:
@@ -218,7 +218,8 @@ constexpr auto kRarityTooltipDuration = 3 * crl::time(1000);
|
||||
state->content = EmojiStatusIdValue(
|
||||
peer
|
||||
) | rpl::map([=](EmojiStatusId emojiStatusId) {
|
||||
if (!peer->session().premium()) {
|
||||
if (!peer->session().premium()
|
||||
|| (!peer->isSelf() && !emojiStatusId)) {
|
||||
return Badge::Content();
|
||||
}
|
||||
return Badge::Content{
|
||||
|
||||
Reference in New Issue
Block a user