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