Don't display the "follow/unfollow" vcard-link on pages meant for follow/unfollow

This commit is contained in:
Michael 2024-04-06 08:28:32 +00:00
parent ad65e56b16
commit 8b75aab4ad
4 changed files with 6 additions and 5 deletions

View file

@ -186,7 +186,7 @@ class Follow extends BaseModule
$this->page['aside'] = '';
if (!in_array($protocol, [Protocol::PHANTOM, Protocol::MAIL])) {
$this->page['aside'] = VCard::getHTML($contact);
$this->page['aside'] = VCard::getHTML($contact, false, true);
$output .= Renderer::replaceMacros(Renderer::getMarkupTemplate('section_title.tpl'),
['$title' => $this->t('Posts and Replies')]