]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_confirm.php
Merge pull request #5758 from MrPetovan/bug/fix-empty-notifications
[friendica.git] / mod / dfrn_confirm.php
index 333220236ad318593f10c9e88de5eac65aa14371..41b5e0ef54f16587dae6e2935ad40916b801e519 100644 (file)
@@ -308,6 +308,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
 
                if ($network === Protocol::DFRN) {
                        $new_relation = Contact::FOLLOWER;
+
                        if (($relation == Contact::SHARING) || ($duplex)) {
                                $new_relation = Contact::FRIEND;
                        }
@@ -550,6 +551,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
                logger('dfrn_confirm: request - photos imported');
 
                $new_relation = Contact::SHARING;
+
                if (($relation == Contact::FOLLOWER) || ($duplex)) {
                        $new_relation = Contact::FRIEND;
                }