Issue 7418: connections to forums should now work again

This commit is contained in:
Michael 2019-12-09 21:19:20 +00:00
parent a4cc22e8fb
commit 49767e0555
2 changed files with 2 additions and 2 deletions

View 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])) {

View 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]);