2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

Show admins in participants_hidden group info.

This commit is contained in:
John Preston
2022-12-23 17:13:32 +04:00
parent d6c188d642
commit ce40ecc7f9
17 changed files with 154 additions and 91 deletions

View File

@@ -472,7 +472,9 @@ void FieldAutocomplete::updateFiltered(bool resetScroll) {
--i;
mrows.push_back({ i->second });
}
} else if (_channel && _channel->isMegagroup()) {
} else if (_channel
&& _channel->isMegagroup()
&& _channel->canViewMembers()) {
if (_channel->lastParticipantsRequestNeeded()) {
_channel->session().api().chatParticipants().requestLast(
_channel);