]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_confirm.php
Pending must only be set when we connect as well
[friendica.git] / 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;
                        }