Update API scheme to layer 133.

This commit is contained in:
John Preston
2021-08-25 11:15:05 +03:00
parent ce7a3c354c
commit a6c98f4bb4
61 changed files with 618 additions and 615 deletions
+2 -2
View File
@@ -141,12 +141,12 @@ bool PollData::applyResults(const MTPPollResults &results) {
recent->v,
ranges::equal_to(),
bareProj,
&MTPint::v); // #TODO ids
&MTPlong::v);
if (recentChanged) {
changed = true;
recentVoters = ranges::views::all(
recent->v
) | ranges::views::transform([&](MTPint userId) {
) | ranges::views::transform([&](MTPlong userId) {
const auto user = _owner->user(userId.v);
return user->isMinimalLoaded() ? user.get() : nullptr;
}) | ranges::views::filter([](UserData *user) {