Fix emoji status display for users.
Regression was introduced in 805a5d73b6
.
This commit is contained in:
parent
cf63b0138e
commit
13cba72945
|
@ -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…
Reference in New Issue