From 13cba729458305b841b8ea219f0b369e85ac051b Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 23 Dec 2023 14:14:03 -0400 Subject: [PATCH] Fix emoji status display for users. Regression was introduced in 805a5d73b6. --- Telegram/SourceFiles/info/profile/info_profile_badge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/info/profile/info_profile_badge.cpp b/Telegram/SourceFiles/info/profile/info_profile_badge.cpp index 91002f6ec..214c6e1cc 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_badge.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_badge.cpp @@ -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;