Update channel administrator_count if full list of members is received.

GitOrigin-RevId: cff244ff217f96562f80bde84d80cdac6e75b53d
This commit is contained in:
levlam 2019-03-12 14:03:33 +03:00
parent e72a2c881f
commit 9aaae62fe3

View File

@ -7473,6 +7473,7 @@ void ContactsManager::on_get_channel_participants_success(
}
}
participant_user_ids = std::move(user_ids);
administrator_count = administrator_user_ids.size();
} else if (filter.is_administrators()) {
administrator_user_ids = std::move(user_ids);
} else if (filter.is_bots()) {