change activitystreams unfollow to stop-follow but also send out OStatus unfollow

This commit is contained in:
Friendika 2011-01-03 05:58:27 -08:00
commit 36b241c02b
4 changed files with 6 additions and 3 deletions

View 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`