]> git.mxchange.org Git - friendica.git/blobdiff - include/diaspora.php
Diaspora: The "new friend" notification now respects the corresponding setting/"new...
[friendica.git] / include / diaspora.php
index affd59d489fa8887802cca18a4bc4760398fd764..9edda5a9efce0f39193a6533ddeda899e4671822 100755 (executable)
@@ -589,7 +589,7 @@ function diaspora_request($importer,$xml) {
                        intval($importer['uid'])
                );
 
-               if((count($r)) && (! $r[0]['hide-friends']) && (! $contact['hidden'])) {
+               if((count($r)) && (!$r[0]['hide-friends']) && (!$contact['hidden']) && intval(get_pconfig($importer['uid'],'system','post_newfriend'))) {
                        require_once('include/items.php');
 
                        $self = q("SELECT * FROM `contact` WHERE `self` = 1 AND `uid` = %d LIMIT 1",