diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-01-02 22:31:25 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-02-05 15:10:24 -0100 |
commit | 01ed889984f710371e65132110fabda875a6f2ad (patch) | |
tree | 82fe5d7cc764395aa03aa6c35708706fe16f779f /lib/Service/PostService.php | |
parent | f5da0c0e7e9bb4bb23f390ca770036bd3f061818 (diff) |
adding hashtags on post creation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Service/PostService.php')
-rw-r--r-- | lib/Service/PostService.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Service/PostService.php b/lib/Service/PostService.php index 89c0f603..817ddc40 100644 --- a/lib/Service/PostService.php +++ b/lib/Service/PostService.php @@ -104,6 +104,7 @@ class PostService { $this->noteService->replyTo($note, $post->getReplyTo()); $this->noteService->addRecipients($note, $post->getType(), $post->getTo()); + $this->noteService->addHashtags($note, $post->getHashtags()); $result = $this->activityService->createActivity($post->getActor(), $note, $activity); $this->accountService->cacheLocalActorDetailCount($post->getActor()); |