mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-12 09:24:54 +00:00
Version 4.9: Fix build with Xcode.
This commit is contained in:
parent
751af75f3e
commit
b352537279
@ -496,7 +496,7 @@ void FieldAutocomplete::updateFiltered(bool resetScroll) {
|
|||||||
_channel->session().api().chatParticipants().requestAdmins(_channel);
|
_channel->session().api().chatParticipants().requestAdmins(_channel);
|
||||||
} else {
|
} else {
|
||||||
mrows.reserve(mrows.size() + _channel->mgInfo->admins.size());
|
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 (const auto user = _channel->owner().userLoaded(userId)) {
|
||||||
if (user->isInaccessible()) continue;
|
if (user->isInaccessible()) continue;
|
||||||
if (!listAllSuggestions && filterNotPassedByName(user)) continue;
|
if (!listAllSuggestions && filterNotPassedByName(user)) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user