diff options
Diffstat (limited to 'app/services/post_status_service.rb')
-rw-r--r-- | app/services/post_status_service.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index 5cac6b70a..b23808a7c 100644 --- a/app/services/post_status_service.rb +++ b/app/services/post_status_service.rb @@ -9,6 +9,7 @@ class PostStatusService < BaseService status = account.statuses.create!(text: text, thread: in_reply_to) attach_media(status, media_ids) process_mentions_service.call(status) + process_hashtags_service.call(status) DistributionWorker.perform_async(status.id) HubPingWorker.perform_async(account.id) status @@ -26,4 +27,8 @@ class PostStatusService < BaseService def process_mentions_service @process_mentions_service ||= ProcessMentionsService.new end + + def process_hashtags_service + @process_hashtags_service ||= ProcessHashtagsService.new + end end |