From: Michael Date: Mon, 27 Jul 2020 19:45:35 +0000 (+0000) Subject: Adding OStatus as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3cc026b8a850fa196784d987d115f6da509cc4d0;p=friendica.git Adding OStatus as well --- diff --git a/src/Model/ContactRelation.php b/src/Model/ContactRelation.php index bc4a38b744..dfbea17cb4 100644 --- a/src/Model/ContactRelation.php +++ b/src/Model/ContactRelation.php @@ -101,7 +101,7 @@ class ContactRelation return; } - if (in_array($contact['network'], [Protocol::ACTIVITYPUB, Protocol::DFRN])) { + if (in_array($contact['network'], [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::OSTATUS])) { // The contact is (most likely) speaking AP, so updating is allowed $apcontact = APContact::getByURL($url); } else {