mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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),
|
BadgeValue(peer),
|
||||||
EmojiStatusIdValue(peer)
|
EmojiStatusIdValue(peer)
|
||||||
) | rpl::map([=](BadgeType badge, DocumentId emojiStatusId) {
|
) | rpl::map([=](BadgeType badge, DocumentId emojiStatusId) {
|
||||||
if (statusOnlyForPremium) {
|
if (statusOnlyForPremium && badge != BadgeType::Premium) {
|
||||||
emojiStatusId = 0;
|
emojiStatusId = 0;
|
||||||
} else if (emojiStatusId && badge == BadgeType::None) {
|
} else if (emojiStatusId && badge == BadgeType::None) {
|
||||||
badge = BadgeType::Premium;
|
badge = BadgeType::Premium;
|
||||||
|
|
Loading…
Add table
Reference in a new issue