diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/post_status_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/post_status_worker.rb b/app/workers/post_status_worker.rb index 56ebb4453..9d9bb93db 100644 --- a/app/workers/post_status_worker.rb +++ b/app/workers/post_status_worker.rb @@ -8,7 +8,7 @@ class PostStatusWorker return false if status.destroyed? status.update(options.slice(:visibility, :local_only, :reject_replies, :hidden).compact) - process_mentions_service.call(status, skip_process: true) unless options[:nomentions] + process_mentions_service.call(status, skip_process: options[:process_mentions] != true) unless options[:nomentions] LinkCrawlWorker.perform_async(status.id) unless options[:nocrawl] || status.spoiler_text.present? DistributionWorker.perform_async(status.id) unless options[:distribute] == false |