From: Michael Date: Mon, 9 Dec 2019 21:19:20 +0000 (+0000) Subject: Issue 7418: connections to forums should now work again X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=49767e0555ce13c0f1a3cb986e544b7d13ca42c1;p=friendica.git Issue 7418: connections to forums should now work again --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index e485794709..76c9cd0169 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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])) { diff --git a/src/Worker/OnePoll.php b/src/Worker/OnePoll.php index 25402e3c31..3dbc0cccd1 100644 --- a/src/Worker/OnePoll.php +++ b/src/Worker/OnePoll.php @@ -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]);