]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
change activitystreams unfollow to stop-follow but also send out OStatus unfollow
[friendica.git] / mod / follow.php
index 5f0f3f7e3d616a6e8f26bb4e729eff683ed8b6a9..3c9d7765738e04fb9c191c5892ebb13b733f0175 100644 (file)
@@ -173,7 +173,8 @@ function follow_post(&$a) {
                '$type' => 'text',
                '$content' => t('following'),
                '$nick' => $a->user['nickname'],
-               '$verb' => ACTIVITY_FOLLOW
+               '$verb' => ACTIVITY_FOLLOW,
+               '$ostat_follow' => ''
        ));
 
        $r = q("SELECT `contact`.*, `user`.* FROM `contact` LEFT JOIN `user` ON `contact`.`uid` = `user`.`uid`