2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Respect correct min-level for colors.

This commit is contained in:
John Preston
2023-12-20 23:02:54 -04:00
parent d5a1c354d0
commit 9201cf24f1
12 changed files with 106 additions and 13 deletions

View File

@@ -845,6 +845,7 @@ not_null<PeerData*> Session::processChat(const MTPChat &data) {
const auto wasCallNotEmpty = Data::ChannelHasActiveCall(channel);
channel->updateLevelHint(data.vlevel().value_or_empty());
if (const auto count = data.vparticipants_count()) {
channel->setMembersCount(count->v);
}