]> git.mxchange.org Git - friendica.git/commitdiff
Pending must only be set when we connect as well
authorMichael <heluecht@pirati.ca>
Thu, 10 Jan 2019 09:19:19 +0000 (09:19 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 10 Jan 2019 09:19:19 +0000 (09:19 +0000)
mod/dfrn_confirm.php

index c78cf45e721e9cd36f9f2b5d32cf8efec3ea39f7..848c25832c97a2c53b10607a15ac32ddc1dcc8c1 100644 (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;
                        }