Fix emoji status display for users.

Regression was introduced in 805a5d73b6.
This commit is contained in:
John Preston 2023-12-23 14:14:03 -04:00
parent cf63b0138e
commit 13cba72945
1 changed files with 1 additions and 1 deletions

View File

@ -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;