Merge pull request #6214 from annando/issue-6212
Issue 6212: No need of a redirect for fetching content
This commit is contained in:
commit
1bd38d1f10
|
@ -22,6 +22,7 @@ use Friendica\Model\Profile;
|
|||
use Friendica\Protocol\ActivityPub;
|
||||
use Friendica\Protocol\DFRN;
|
||||
use Friendica\Util\Strings;
|
||||
use Friendica\Module\Objects;
|
||||
|
||||
function display_init(App $a)
|
||||
{
|
||||
|
@ -82,7 +83,7 @@ function display_init(App $a)
|
|||
}
|
||||
|
||||
if (ActivityPub::isRequest()) {
|
||||
$a->internalRedirect(str_replace('display/', 'objects/', $a->query_string));
|
||||
Objects::rawContent();
|
||||
}
|
||||
|
||||
if ($item["id"] != $item["parent"]) {
|
||||
|
|
Loading…
Reference in a new issue