]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Item/Display.php
Merge pull request #13266 from annando/quoted
[friendica.git] / src / Module / Item / Display.php
index a0d1ecbf56d81263d3aca04b192bf4aa0357b985..21046628feff566c4d58fd21ec553f46d7e44605 100644 (file)
@@ -88,8 +88,6 @@ class Display extends BaseModule
 
        protected function content(array $request = []): string
        {
-               header('Vary: Accept', false);
-
                if (ActivityPub::isRequest()) {
                        $this->baseUrl->redirect(str_replace('display/', 'objects/', $this->args->getQueryString()));
                }
@@ -275,7 +273,7 @@ class Display extends BaseModule
                        $output .= $this->conversation->statusEditor([], 0, true);
                }
 
-               $output .= $this->conversation->create([$item], Conversation::MODE_DISPLAY, $updateUid, false, 'commented', $itemUid);
+               $output .= $this->conversation->render([$item], Conversation::MODE_DISPLAY, $updateUid, false, 'commented', $itemUid);
 
                return $output;
        }