about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-10-12 22:42:42 -0500
committermultiple creatures <dev@multiple-creature.party>2019-10-12 22:42:42 -0500
commit2aa1149e1c0e46538b11d8958d6b4755939a04d7 (patch)
treeefa03540465f7eb330291e002aed12265e96e35d /app
parenta367ff86982987aa0573d9b375000a909223c3ad (diff)
make sure mentions aren't processed early if delayed roars are enabled
Diffstat (limited to 'app')
-rw-r--r--app/services/post_status_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb
index 353c1ef82..e2da4b358 100644
--- a/app/services/post_status_service.rb
+++ b/app/services/post_status_service.rb
@@ -196,7 +196,7 @@ class PostStatusService < BaseService
     return false if @status.destroyed?
 
     process_hashtags_service.call(@status, @tags, @preloaded_tags)
-    process_mentions_service.call(@status) unless @options[:delayed].present? || @options[:nomentions]
+    process_mentions_service.call(@status) unless @options[:delayed].present? || @account&.user&.delayed_roars? || @options[:nomentions]
 
     return true
   end