X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FAPContact.php;h=efd6ed0e9dc60c4216382f7415743dca360331a6;hb=ee32459358c6ca818f368e55e49147e4dcdcc690;hp=22f168d8f601baecf6bf524e5e2fe973861a2bd5;hpb=9ec30010c572c0b4e1fd4099f03a94e35be99358;p=friendica.git diff --git a/src/Model/APContact.php b/src/Model/APContact.php index 22f168d8f6..efd6ed0e9d 100644 --- a/src/Model/APContact.php +++ b/src/Model/APContact.php @@ -63,7 +63,7 @@ class APContact extends BaseObject * @param boolean $update true = always update, false = never update, null = update when not found * @return array profile array */ - public static function getProfileByURL($url, $update = null) + public static function getByURL($url, $update = null) { if (empty($url)) { return false; @@ -105,7 +105,7 @@ class APContact extends BaseObject $apcontact = []; $apcontact['url'] = $data['id']; - $apcontact['uuid'] = defaults($data, 'uuid', null); + $apcontact['uuid'] = defaults($data, 'diaspora:guid', null); $apcontact['type'] = defaults($data, 'type', null); $apcontact['following'] = defaults($data, 'following', null); $apcontact['followers'] = defaults($data, 'followers', null);