]> git.mxchange.org Git - friendica.git/blobdiff - include/diaspora.php
nets widget - allow all children of specified parent net regardless of network
[friendica.git] / include / diaspora.php
index f32113668fa637fbc8d268b4818c51a6eb745723..5a19400daac04b494a2e8964954449617e9206db 100644 (file)
@@ -610,6 +610,10 @@ function diaspora_request($importer,$xml) {
                        dbesc(datetime_convert()),
                        intval($contact_record['id'])
                );
+
+               $u = q("select * from user where id = %d limit 1",intval($importer['uid']));
+               if($u)
+                       $ret = diaspora_share($u[0],$contact_record);
        }
 
        return;
@@ -1781,27 +1785,6 @@ function diaspora_profile($importer,$xml) {
 
 }
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 function diaspora_share($me,$contact) {
        $a = get_app();
        $myaddr = $me['nickname'] . '@' .  substr($a->get_baseurl(), strpos($a->get_baseurl(),'://') + 3);