ostatus doesn't accept activitystreams stop-follow verb or multiple verbs, insists on single ostatus unfollow #non-standard
This commit is contained in:
parent
d2b28206ce
commit
ded449f697
|
@ -1,10 +1,7 @@
|
||||||
|
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
AddType application/x-java-archive .jar
|
AddType application/x-java-archive .jar
|
||||||
AddType audio/ogg .oga
|
AddType audio/ogg .oga
|
||||||
|
|
||||||
#php_value suhosin.get.max_value_length = 2048
|
|
||||||
|
|
||||||
<FilesMatch "\.(out|log)$">
|
<FilesMatch "\.(out|log)$">
|
||||||
Deny from all
|
Deny from all
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
|
@ -180,8 +180,8 @@ function contacts_content(&$a) {
|
||||||
'$type' => 'text',
|
'$type' => 'text',
|
||||||
'$content' => t('stopped following'),
|
'$content' => t('stopped following'),
|
||||||
'$nick' => $a->user['nickname'],
|
'$nick' => $a->user['nickname'],
|
||||||
'$verb' => ACTIVITY_UNFOLLOW,
|
'$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"
|
'$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']))) {
|
if((x($orig_record[0],'notify')) && (strlen($orig_record[0]['notify']))) {
|
||||||
|
|
|
@ -92,6 +92,8 @@ function follow_post(&$a) {
|
||||||
if($h)
|
if($h)
|
||||||
$vcard['photo'] = $h['scheme'] . '://' . $h['host'] . $vcard['photo'];
|
$vcard['photo'] = $h['scheme'] . '://' . $h['host'] . $vcard['photo'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger('mod_follow: scrape_vcard: ' . print_r($vcard,true), LOGGER_DATA);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(! $profile) {
|
if(! $profile) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user