mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Suggest group-with-hidden-members admins in mentions.
This commit is contained in:
@@ -1505,6 +1505,11 @@ void ParticipantsBoxController::loadMoreRows() {
|
||||
LOG(("API Error: "
|
||||
"channels.channelParticipantsNotModified received!"));
|
||||
});
|
||||
if (_offset > 0 && _role == Role::Admins && channel->isMegagroup()) {
|
||||
if (channel->mgInfo->admins.empty() && channel->mgInfo->adminsLoaded) {
|
||||
channel->mgInfo->adminsLoaded = false;
|
||||
}
|
||||
}
|
||||
if (!firstLoad && !added) {
|
||||
_allLoaded = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user