aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-05 23:06:03 -0700
committerFriendika <info@friendika.com>2011-04-05 23:06:03 -0700
commitded449f69747856e5a875784544387b2e06054b6 (patch)
tree8481e69c547f7397e6bfa62c4f63910cddf9a36a /mod
parentd2b28206ceb093f908f131980f9a02adbce327d2 (diff)
downloadvolse-hubzilla-ded449f69747856e5a875784544387b2e06054b6.tar.gz
volse-hubzilla-ded449f69747856e5a875784544387b2e06054b6.tar.bz2
volse-hubzilla-ded449f69747856e5a875784544387b2e06054b6.zip
ostatus doesn't accept activitystreams stop-follow verb or multiple verbs, insists on single ostatus unfollow #non-standard
Diffstat (limited to 'mod')
-rw-r--r--mod/contacts.php4
-rw-r--r--mod/follow.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index aee6548fe..4d5311b69 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -180,8 +180,8 @@ function contacts_content(&$a) {
'$type' => 'text',
'$content' => t('stopped following'),
'$nick' => $a->user['nickname'],
- '$verb' => ACTIVITY_UNFOLLOW,
- '$ostat_follow' => '<as:verb>http://ostatus.org/schema/1.0/unfollow</as:verb>' . "\r\n"
+ '$verb' => 'http://ostatus.org/schema/1.0/unfollow', // 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']))) {
diff --git a/mod/follow.php b/mod/follow.php
index 48ad66747..f30ecdc92 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -92,6 +92,8 @@ function follow_post(&$a) {
if($h)
$vcard['photo'] = $h['scheme'] . '://' . $h['host'] . $vcard['photo'];
}
+
+ logger('mod_follow: scrape_vcard: ' . print_r($vcard,true), LOGGER_DATA);
}
if(! $profile) {