mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Remove for_const macro.
This commit is contained in:
@@ -379,9 +379,12 @@ void FieldAutocomplete::updateFiltered(bool resetScroll) {
|
||||
|
||||
bool listAllSuggestions = _filter.isEmpty();
|
||||
if (_addInlineBots) {
|
||||
for_const (auto user, cRecentInlineBots()) {
|
||||
if (user->isInaccessible()) continue;
|
||||
if (!listAllSuggestions && filterNotPassedByUsername(user)) continue;
|
||||
for (const auto user : cRecentInlineBots()) {
|
||||
if (user->isInaccessible()
|
||||
|| (!listAllSuggestions
|
||||
&& filterNotPassedByUsername(user))) {
|
||||
continue;
|
||||
}
|
||||
mrows.push_back({ user });
|
||||
++recentInlineBots;
|
||||
}
|
||||
|
Reference in New Issue
Block a user