aboutsummaryrefslogtreecommitdiffstats
path: root/mod/contacts.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/contacts.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/contacts.php')
-rw-r--r--mod/contacts.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index 33d1955a5..320c0f420 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -165,7 +165,8 @@ function contacts_content(&$a) {
'$type' => 'text',
'$content' => t('stopped following'),
'$nick' => $a->user['nickname'],
- '$verb' => ACTIVITY_UNFOLLOW
+ '$verb' => ACTIVITY_UNFOLLOW,
+ '$ostat_follow' => '<as:verb>http://ostatus.org/schema/1.0/unfollow</as:verb>' . "\r\n";
));
if((x($orig_record[0],'notify')) && (strlen($orig_record[0]['notify']))) {