feat(FeedIgnore): check is global feed

This commit is contained in:
xRy0 2025-05-20 21:47:22 +03:00
parent 47b14a4190
commit a2af0f849f
No known key found for this signature in database
GPG key ID: 0DD2B72E974C9E3B

View file

@ -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