diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-10-12 22:42:42 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-10-12 22:42:42 -0500 |
commit | 2aa1149e1c0e46538b11d8958d6b4755939a04d7 (patch) | |
tree | efa03540465f7eb330291e002aed12265e96e35d /app/services | |
parent | a367ff86982987aa0573d9b375000a909223c3ad (diff) |
make sure mentions aren't processed early if delayed roars are enabled
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/post_status_service.rb | 2 |
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 |