mirror of
https://github.com/friendica/friendica
synced 2025-04-23 01:10:11 +00:00
OStatus contacts are now automatically converted to AP
This commit is contained in:
parent
514ec1be6d
commit
efad4936b0
7 changed files with 27 additions and 10 deletions
|
@ -298,6 +298,9 @@ class Processor
|
|||
$item = ['author-id' => Contact::getIdForURL($activity['actor']),
|
||||
'author-link' => $activity['actor']];
|
||||
|
||||
// Ensure that the contact has got the right network type
|
||||
self::switchContact($item['author-id']);
|
||||
|
||||
Contact::addRelationship($owner, $contact, $item);
|
||||
$cid = Contact::getIdForURL($activity['actor'], $uid);
|
||||
if (empty($cid)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue