diff --git a/lib/Service/PostService.php b/lib/Service/PostService.php index e346473b..d9222fb3 100644 --- a/lib/Service/PostService.php +++ b/lib/Service/PostService.php @@ -124,8 +124,6 @@ class PostService { $this->streamService->assignItem($note, $actor, $post->getType()); $note->setAttributedTo($actor->getId()); -// $this->configService->getSocialUrl() . '@' . $actor->getPreferredUsername() - $note->setContent(htmlentities($post->getContent(), ENT_QUOTES)); $this->generateDocumentsFromAttachments($note, $post); diff --git a/lib/Service/StreamService.php b/lib/Service/StreamService.php index 016244ac..14a2c104 100644 --- a/lib/Service/StreamService.php +++ b/lib/Service/StreamService.php @@ -257,6 +257,7 @@ class StreamService { if ($type === Stream::TYPE_DIRECT) { $instancePath->setPriority(InstancePath::PRIORITY_HIGH); $stream->addToArray($actor->getId()); + $stream->setHiddenOnTimeline(true); } else { $stream->addCc($actor->getId()); }