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
parent cdf626e0e7
commit 36b241c02b
4 changed files with 6 additions and 3 deletions

View File

@@ -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']))) {