Pending must only be set when we connect as well

This commit is contained in:
Michael 2019-01-10 09:19:19 +00:00
parent 1a702359f1
commit cc6836b89c

View file

@ -337,7 +337,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
} else {
if ($network == Protocol::ACTIVITYPUB) {
ActivityPub\Transmitter::sendContactAccept($contact['url'], $contact['hub-verify'], $uid);
$pending = true;
$pending = $duplex;
} else {
$pending = false;
}