Version 4.9: Fix build with Xcode.

This commit is contained in:
John Preston 2023-08-14 22:58:42 +02:00
parent 751af75f3e
commit b352537279

View File

@ -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;