aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-03 05:58:27 -0800
committerFriendika <info@friendika.com>2011-01-03 05:58:27 -0800
commit36b241c02b7640a72fd3432b511e635e4146e2e6 (patch)
tree7721cb4778f42a90642b755909a37d790d1263f1 /mod/follow.php
parentcdf626e0e77c45e550054594738c9b59f0aeed18 (diff)
downloadvolse-hubzilla-36b241c02b7640a72fd3432b511e635e4146e2e6.tar.gz
volse-hubzilla-36b241c02b7640a72fd3432b511e635e4146e2e6.tar.bz2
volse-hubzilla-36b241c02b7640a72fd3432b511e635e4146e2e6.zip
change activitystreams unfollow to stop-follow but also send out OStatus unfollow
Diffstat (limited to 'mod/follow.php')
-rw-r--r--mod/follow.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 5f0f3f7e3..3c9d77657 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -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`