diff --git a/mod/follow.php b/mod/follow.php index 404c79ea1..ba4ff35f1 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -62,6 +62,11 @@ function follow_content(App $a) $uid = local_user(); $url = Strings::escapeTags(trim(defaults($_REQUEST, 'url', ''))); + // Issue 6874: Allow remote following from Peertube + if (strpos($url, 'acct:') === 0) { + $url = str_replace('acct:', '', $url); + } + if (!$url) { $a->internalRedirect($return_path); }