Adding OStatus as well

This commit is contained in:
Michael 2020-07-27 19:45:35 +00:00
parent 477e9bd67a
commit 3cc026b8a8
1 changed files with 1 additions and 1 deletions

View 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 {