From: Michael Date: Thu, 10 Jan 2019 09:19:19 +0000 (+0000) Subject: Pending must only be set when we connect as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cc6836b89cc4a074d27398b44f97ec42ca3598ba;p=friendica.git Pending must only be set when we connect as well --- diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index c78cf45e72..848c25832c 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -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; }