Fix wrong value for parameter

This commit is contained in:
Michael 2020-08-05 12:53:25 +00:00
parent 4e5a3ab0f1
commit 603b1f965d

View file

@ -2017,7 +2017,7 @@ class OStatus
$mentioned = $newmentions;
foreach ($mentioned as $mention) {
$contact = Contact::getByURL($mention, ['contact-type']);
$contact = Contact::getByURL($mention, false, ['contact-type']);
if (!empty($contact) && ($contact['contact-type'] == Contact::TYPE_COMMUNITY)) {
XML::addElement($doc, $entry, "link", "",
[