mirror of
https://github.com/friendica/friendica
synced 2024-11-19 03:43:40 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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