]> git.mxchange.org Git - friendica.git/commitdiff
Adding OStatus as well
authorMichael <heluecht@pirati.ca>
Mon, 27 Jul 2020 19:45:35 +0000 (19:45 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 27 Jul 2020 19:45:35 +0000 (19:45 +0000)
src/Model/ContactRelation.php

index bc4a38b744eaf3aa613937ea3ff9030159d37026..dfbea17cb45143f67a9fbb7bc159df68a1444e4c 100644 (file)
@@ -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 {