diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 74f1e8be3..e8c576a94 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -2476,7 +2476,7 @@ class Diaspora return false; } - $cid = Contact::getIdForURL($ret['url'], $uid); + $cid = Contact::getIdForURL($ret['url'], $importer['uid']); if (!empty($cid)) { $contact = DBA::selectFirst('contact', [], ['id' => $cid, 'network' => Protocol::NATIVE_SUPPORT]); } else {