]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/APContact.php
Merge branch 'develop' into task/mod_hostxrd
[friendica.git] / src / Model / APContact.php
index c2dbcf590a629f983e615f7417e70559b54546a4..47bbe7d59f137d21d1c17ad38ccd7a3d19823f41 100644 (file)
@@ -118,7 +118,7 @@ class APContact extends BaseObject
 
                $apcontact = [];
                $apcontact['url'] = $compacted['@id'];
-               $apcontact['uuid'] = JsonLD::fetchElement($compacted, 'diaspora:guid');
+               $apcontact['uuid'] = JsonLD::fetchElement($compacted, 'diaspora:guid', '@value');
                $apcontact['type'] = str_replace('as:', '', JsonLD::fetchElement($compacted, '@type'));
                $apcontact['following'] = JsonLD::fetchElement($compacted, 'as:following', '@id');
                $apcontact['followers'] = JsonLD::fetchElement($compacted, 'as:followers', '@id');