diff --git a/src/Model/Profile.php b/src/Model/Profile.php index 5f040f63ec..0ebdcec004 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -338,13 +338,7 @@ class Profile } // Is the remote user already connected to that user? - if ($connect && remote_user() - && DBA::exists('contact', [ - 'uid' => $profile['uid'], - 'nurl' => Strings::normaliseLink(self::getMyURL()), - 'rel' => [Contact::SHARING, Contact::FRIEND] - ]) - ) { + if ($connect && Contact::isFollower(remote_user(), $profile['uid'])) { $connect = false; }