]> git.mxchange.org Git - friendica.git/commitdiff
ostatus doesn't accept activitystreams stop-follow verb or multiple verbs, insists...
authorFriendika <info@friendika.com>
Wed, 6 Apr 2011 06:06:03 +0000 (23:06 -0700)
committerFriendika <info@friendika.com>
Wed, 6 Apr 2011 06:06:03 +0000 (23:06 -0700)
.htaccess
mod/contacts.php
mod/follow.php

index 9322b92820f89a11183c90d01c6a6e658f7f655f..fe09fc5224f3b76854ad49fa0bcf80fd1334c0a7 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,10 +1,7 @@
-
 Options -Indexes
 AddType application/x-java-archive .jar
 AddType audio/ogg .oga
 
-#php_value suhosin.get.max_value_length = 2048
-
 <FilesMatch "\.(out|log)$">
 Deny from all
 </FilesMatch>
index aee6548fe6a225e9fccb67b28911e9d4aabdf687..4d5311b6990aacdcd93ce7a15528f4ffae54369e 100644 (file)
@@ -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']))) {
index 48ad667476c788378b3326b1e8f7fd05f736b37a..f30ecdc92132f71f14366b5389dc3839d78ad536 100644 (file)
@@ -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) {