mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:50:11 +00:00
Move Follow to /contact
namespace
This commit is contained in:
parent
3554894577
commit
b5d01337d9
6 changed files with 8 additions and 8 deletions
|
@ -202,7 +202,7 @@ class Follow extends BaseModule
|
|||
|
||||
protected function process(string $url)
|
||||
{
|
||||
$returnPath = 'follow?rul=' . urlencode($url);
|
||||
$returnPath = 'follow?url=' . urlencode($url);
|
||||
|
||||
$result = Contact::createFromProbeForUser($this->app->getLoggedInUserId(), $url);
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ class Xrd extends BaseModule
|
|||
],
|
||||
[
|
||||
'rel' => 'http://ostatus.org/schema/1.0/subscribe',
|
||||
'template' => $baseURL . '/follow?url={uri}',
|
||||
'template' => $baseURL . '/contact/follow?url={uri}',
|
||||
],
|
||||
[
|
||||
'rel' => ActivityNamespace::FEED,
|
||||
|
@ -212,7 +212,7 @@ class Xrd extends BaseModule
|
|||
],
|
||||
[
|
||||
'rel' => 'http://ostatus.org/schema/1.0/subscribe',
|
||||
'template' => $baseURL . '/follow?url={uri}',
|
||||
'template' => $baseURL . '/contact/follow?url={uri}',
|
||||
],
|
||||
[
|
||||
'rel' => 'magic-public-key',
|
||||
|
@ -312,7 +312,7 @@ class Xrd extends BaseModule
|
|||
'11:link' => [
|
||||
'@attributes' => [
|
||||
'rel' => 'http://ostatus.org/schema/1.0/subscribe',
|
||||
'template' => $baseURL . '/follow?url={uri}'
|
||||
'template' => $baseURL . '/contact/follow?url={uri}'
|
||||
]
|
||||
],
|
||||
'12:link' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue