Issue 6874: Allow remote follow via Peertube
This commit is contained in:
parent
cd0d6cb626
commit
33ffabcca7
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ function follow_content(App $a)
|
|||
$uid = local_user();
|
||||
$url = Strings::escapeTags(trim(defaults($_REQUEST, 'url', '')));
|
||||
|
||||
// Issue 6874: Allow remote following from Oeertube
|
||||
$url = str_replace('acct:', '', $url);
|
||||
|
||||
if (!$url) {
|
||||
$a->internalRedirect($return_path);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue