X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Ffollow.php;h=f74655a9d287e4cf1dff5ebda52fed591398119e;hb=9e689e8b9bfd7dd3519c678e020627af0ccb5777;hp=7a3514b3a73aa4942ca00f009cc6128361782461;hpb=ff569756ee6c5e058700cf6428918f059525e77c;p=friendica.git diff --git a/include/follow.php b/include/follow.php index 7a3514b3a7..f74655a9d2 100644 --- a/include/follow.php +++ b/include/follow.php @@ -289,8 +289,9 @@ function new_contact($uid,$url,$interactive = false) { $slap = ostatus::salmon($item, $r[0]); slapper($r[0], $contact['notify'], $slap); } + if ($contact['network'] == NETWORK_DIASPORA) { - $ret = diaspora::send_share($a->user,$contact); + $ret = Diaspora::send_share($a->user,$contact); logger('share returns: '.$ret); } }