2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Don't show premium star when premium unavailable.

This commit is contained in:
John Preston
2022-06-08 16:53:16 +04:00
parent aaf1383304
commit 916f86b401
14 changed files with 75 additions and 75 deletions

View File

@@ -1941,7 +1941,7 @@ auto ParticipantsBoxController::computeType(
? Badge::Fake
: user->isVerified()
? Badge::Verified
: user->isPremium()
: (user->isPremium() && participant->session().premiumPossible())
? Badge::Premium
: Badge::None;
return result;