diff --git a/Web/Presenters/WallPresenter.php b/Web/Presenters/WallPresenter.php index 709a0091..f4a8e898 100644 --- a/Web/Presenters/WallPresenter.php +++ b/Web/Presenters/WallPresenter.php @@ -113,7 +113,6 @@ final class WallPresenter extends OpenVKPresenter "amount" => sizeof($this->template->posts), "perPage" => OPENVK_DEFAULT_PER_PAGE, ]; - $this->template->ignore_status = $owner->isIgnoredBy($this->user->identity); $this->logPostsViewed($this->template->posts, $user); diff --git a/Web/Presenters/templates/components/post/microblogpost.xml b/Web/Presenters/templates/components/post/microblogpost.xml index 5933f4bb..b1bd2cbe 100644 --- a/Web/Presenters/templates/components/post/microblogpost.xml +++ b/Web/Presenters/templates/components/post/microblogpost.xml @@ -58,7 +58,7 @@ {_pinned} - + {if $canBePinned && !($forceNoPinLink ?? false) && $compact == false} {if $post->isPinned()} diff --git a/Web/Presenters/templates/components/post/oldpost.xml b/Web/Presenters/templates/components/post/oldpost.xml index a1d6a34e..9c38ac86 100644 --- a/Web/Presenters/templates/components/post/oldpost.xml +++ b/Web/Presenters/templates/components/post/oldpost.xml @@ -136,7 +136,7 @@ {/if} {if !$canBeDeleted} - {if !$ignore_status}{_ignore_user}{else}{_unignore_user}{/if}  |  + {_ignore_user}  |  {/if} {if !($forceNoPinLink ?? false) && $canBePinned}