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
1 changed files with 1 additions and 1 deletions

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;
}