Preparations for a relocation message / fix for notice

This commit is contained in:
Michael 2018-11-02 21:57:06 +00:00
parent d929e714df
commit 1395bdc188
4 changed files with 44 additions and 12 deletions

View file

@ -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');