mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Version 4.9: Fix build with Xcode.
This commit is contained in:
parent
751af75f3e
commit
b352537279
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ void FieldAutocomplete::updateFiltered(bool resetScroll) {
|
|||
_channel->session().api().chatParticipants().requestAdmins(_channel);
|
||||
} else {
|
||||
mrows.reserve(mrows.size() + _channel->mgInfo->admins.size());
|
||||
for (const auto [userId, rank] : _channel->mgInfo->admins) {
|
||||
for (const auto &[userId, rank] : _channel->mgInfo->admins) {
|
||||
if (const auto user = _channel->owner().userLoaded(userId)) {
|
||||
if (user->isInaccessible()) continue;
|
||||
if (!listAllSuggestions && filterNotPassedByName(user)) continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue