mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix emoji status display for users.
Regression was introduced in 805a5d73b6
.
This commit is contained in:
parent
cf63b0138e
commit
13cba72945
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ namespace {
|
|||
BadgeValue(peer),
|
||||
EmojiStatusIdValue(peer)
|
||||
) | rpl::map([=](BadgeType badge, DocumentId emojiStatusId) {
|
||||
if (statusOnlyForPremium) {
|
||||
if (statusOnlyForPremium && badge != BadgeType::Premium) {
|
||||
emojiStatusId = 0;
|
||||
} else if (emojiStatusId && badge == BadgeType::None) {
|
||||
badge = BadgeType::Premium;
|
||||
|
|
Loading…
Add table
Reference in a new issue