mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
VKAPI: Fix Newsfeed once more again
This commit is contained in:
parent
ba2981291b
commit
1f79dd7143
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ final class Newsfeed extends VKAPIRequestHandler
|
|||
$rposts[] = (new PostsRepo)->get($post->id)->getPrettyId();
|
||||
|
||||
$response = (new Wall)->getById(implode(',', $rposts), $extended, $fields, $this->getUser());
|
||||
$response->next_from = end($response->items)->id;
|
||||
$response->next_from = end(end($posts->page((int) ($offset + 1), $count))); // ну и костыли пиздец конечно)
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue