From 49767e0555ce13c0f1a3cb986e544b7d13ca42c1 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 9 Dec 2019 21:19:20 +0000 Subject: [PATCH] Issue 7418: connections to forums should now work again --- src/Model/Contact.php | 2 +- src/Worker/OnePoll.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]);