kopia lustrzana https://github.com/friendica/friendica
Adding OStatus as well
rodzic
477e9bd67a
commit
3cc026b8a8
|
@ -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 {
|
||||||
|
|
Ładowanie…
Reference in New Issue