mirror of
https://github.com/openvk/openvk
synced 2025-07-04 14:59:54 +03:00
feat(FeedIgnore): check is global feed
This commit is contained in:
parent
47b14a4190
commit
a2af0f849f
1 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,7 @@ final class WallPresenter extends OpenVKPresenter
|
|||
foreach ($posts->page((int) ($_GET["p"] ?? 1), $perPage) as $post) {
|
||||
$this->template->posts[] = $this->posts->get($post->id);
|
||||
}
|
||||
$this->template->feedIgnoreButton = true;
|
||||
}
|
||||
|
||||
public function renderGlobalFeed(): void
|
||||
|
@ -240,6 +241,7 @@ final class WallPresenter extends OpenVKPresenter
|
|||
foreach ($posts as $post) {
|
||||
$this->template->posts[] = $this->posts->get($post->id);
|
||||
}
|
||||
$this->template->feedIgnoreButton = true;
|
||||
}
|
||||
|
||||
public function renderHashtagFeed(string $hashtag): void
|
||||
|
|
Loading…
Reference in a new issue