]> git.mxchange.org Git - friendica.git/commitdiff
Changed field origin
authorMichael <heluecht@pirati.ca>
Wed, 2 Sep 2020 03:13:10 +0000 (03:13 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 2 Sep 2020 03:13:10 +0000 (03:13 +0000)
src/Model/Contact.php

index 1b2aa38616aab12b472cf945874ac57852ee6e14..74ac1f68a54da30068d3e1c3cefbe439d4e2b4b7 100644 (file)
@@ -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'];
                        }
                }