Do not warn on deleted users returned as administrators.
GitOrigin-RevId: 8facbb4a76bf489ce59c9e34d98dc49c6112edb6
This commit is contained in:
parent
7b0be02503
commit
a4d89470f2
@ -7583,8 +7583,11 @@ void ContactsManager::on_get_channel_participants_success(
|
||||
((filter.is_recent() || filter.is_search()) && !result.back().status.is_member()) ||
|
||||
(filter.is_restricted() && !result.back().status.is_restricted()) ||
|
||||
(filter.is_banned() && !result.back().status.is_banned())) {
|
||||
bool skip_error = filter.is_administrators() && is_user_deleted(result.back().user_id);
|
||||
if (!skip_error) {
|
||||
LOG(ERROR) << "Receive " << result.back() << ", while searching for " << filter << " in " << channel_id
|
||||
<< " with offset " << offset << " and limit " << limit;
|
||||
}
|
||||
result.pop_back();
|
||||
total_count--;
|
||||
}
|
||||
|
Reference in New Issue
Block a user