From cc6836b89cc4a074d27398b44f97ec42ca3598ba Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 10 Jan 2019 09:19:19 +0000 Subject: [PATCH] Pending must only be set when we connect as well --- mod/dfrn_confirm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }