2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Always show premium badge in support mode.

This commit is contained in:
John Preston
2022-06-20 11:13:39 +04:00
parent b84c876ba2
commit 1b9232e28d
4 changed files with 8 additions and 2 deletions

View File

@@ -177,7 +177,8 @@ void Cover::initViewers(rpl::producer<QString> title) {
BadgeValue(
_peer
) | rpl::start_with_next([=](Badge badge) {
if (badge == Badge::Premium && !_peer->session().premiumPossible()) {
if (badge == Badge::Premium
&& !_peer->session().premiumBadgesShown()) {
badge = Badge::None;
}
setBadge(badge);