Adding OStatus as well

This commit is contained in:
Michael 2020-07-27 19:45:35 +00:00
parent 477e9bd67a
commit 3cc026b8a8

View file

@ -101,7 +101,7 @@ class ContactRelation
return; 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 // The contact is (most likely) speaking AP, so updating is allowed
$apcontact = APContact::getByURL($url); $apcontact = APContact::getByURL($url);
} else { } else {