]> git.mxchange.org Git - friendica.git/commitdiff
Issue 7418: connections to forums should now work again
authorMichael <heluecht@pirati.ca>
Mon, 9 Dec 2019 21:19:20 +0000 (21:19 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 9 Dec 2019 21:19:20 +0000 (21:19 +0000)
src/Model/Contact.php
src/Worker/OnePoll.php

index e48579470942516330e129f4f1554a4877d18c39..76c9cd01692f590760395616640682e3d4af3c4b 100644 (file)
@@ -2332,7 +2332,7 @@ class Contact extends BaseObject
                        $apcontact = APContact::getByURL($url, false);
                        if (isset($apcontact['manually-approve'])) {
                                $pending = (bool)$apcontact['manually-approve'];
-                       }                       
+                       }
                }
 
                if (in_array($protocol, [Protocol::MAIL, Protocol::DIASPORA, Protocol::ACTIVITYPUB])) {
index 25402e3c3158d2890833656a71ca2efe16236171..3dbc0cccd1cd06c3ebd8e481862b65d6c8f4fc75 100644 (file)
@@ -41,7 +41,7 @@ class OnePoll
                }
 
                if ($force) {
-                       Contact::updateFromProbe($contact_id, true);
+                       Contact::updateFromProbe($contact_id, '', true);
                }
 
                $contact = DBA::selectFirst('contact', [], ['id' => $contact_id]);