mirror of
https://github.com/friendica/friendica
synced 2025-04-29 19:44:22 +02:00
Preparations for a relocation message / fix for notice
This commit is contained in:
parent
d929e714df
commit
1395bdc188
4 changed files with 44 additions and 12 deletions
|
@ -106,6 +106,10 @@ class APContact extends BaseObject
|
|||
|
||||
$compacted = JsonLD::compact($data);
|
||||
|
||||
if (empty($compacted['@id'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$apcontact = [];
|
||||
$apcontact['url'] = $compacted['@id'];
|
||||
$apcontact['uuid'] = JsonLD::fetchElement($compacted, 'diaspora:guid');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue