]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong value for parameter
authorMichael <heluecht@pirati.ca>
Wed, 5 Aug 2020 12:53:25 +0000 (12:53 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 5 Aug 2020 12:53:25 +0000 (12:53 +0000)
src/Protocol/OStatus.php

index d9e18fa61384b54e0e06c033a6c5ef28e4446518..74a055265db795502f20e01bea8e40f6bd4622e5 100644 (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", "",
                                        [