make mastodon happy args

This commit is contained in:
Mario Vavti 2017-04-26 22:16:23 +02:00
parent d1c84ad9f0
commit 1c304eb8ba
3 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ class Wfinger extends \Zotlabs\Web\Controller {
[
'rel' => 'http://schemas.google.com/g/2010#updates-from',
'type' => 'application/atom+xml',
'href' => z_root() . '/feed/' . $r[0]['channel_address'] . '?f=&compat=1'
'href' => z_root() . '/feed/' . $r[0]['channel_address'] . '/?compat=1'
],
[

View File

@ -57,7 +57,7 @@ class Xrd extends \Zotlabs\Web\Controller {
'$aliases' => $aliases,
'$profile_url' => z_root() . '/channel/' . $r[0]['channel_address'],
'$hcard_url' => z_root() . '/hcard/' . $r[0]['channel_address'],
'$atom' => z_root() . '/feed/' . $r[0]['channel_address'] . '?f=&compat=1',
'$atom' => z_root() . '/feed/' . $r[0]['channel_address'] . '/?compat=1',
'$zot_post' => z_root() . '/post/' . $r[0]['channel_address'],
'$poco_url' => z_root() . '/poco/' . $r[0]['channel_address'],
'$photo' => z_root() . '/photo/profile/l/' . $r[0]['channel_id'],

View File

@ -3140,4 +3140,4 @@ function ellipsify($s,$maxlen) {
return $s;
return mb_substr($s,0,$maxlen / 2) . '...' . mb_substr($s,mb_strlen($s) - ($maxlen / 2));
}
}