From a2e4a0170b05485e6c0694d151e38d913f37675a Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 2 Sep 2020 03:13:10 +0000 Subject: [PATCH] Changed field origin --- src/Model/Contact.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 1b2aa3861..74ac1f68a 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -2122,9 +2122,8 @@ class Contact $pending = false; if ($protocol == Protocol::ACTIVITYPUB) { - $apcontact = APContact::getByURL($ret['url'], false); - if (isset($apcontact['manually-approve'])) { - $pending = (bool)$apcontact['manually-approve']; + if (isset($ret['manually-approve'])) { + $pending = (bool)$ret['manually-approve']; } }