mirror of
https://github.com/friendica/friendica
synced 2024-12-23 18:40:16 +00:00
Adding OStatus as well
This commit is contained in:
parent
477e9bd67a
commit
3cc026b8a8
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue