Update channel administrator_count if full list of members is received.
GitOrigin-RevId: cff244ff217f96562f80bde84d80cdac6e75b53d
This commit is contained in:
parent
e72a2c881f
commit
9aaae62fe3
@ -7473,6 +7473,7 @@ void ContactsManager::on_get_channel_participants_success(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
participant_user_ids = std::move(user_ids);
|
participant_user_ids = std::move(user_ids);
|
||||||
|
administrator_count = administrator_user_ids.size();
|
||||||
} else if (filter.is_administrators()) {
|
} else if (filter.is_administrators()) {
|
||||||
administrator_user_ids = std::move(user_ids);
|
administrator_user_ids = std::move(user_ids);
|
||||||
} else if (filter.is_bots()) {
|
} else if (filter.is_bots()) {
|
||||||
|
Reference in New Issue
Block a user