From 2aa1149e1c0e46538b11d8958d6b4755939a04d7 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 12 Oct 2019 22:42:42 -0500 Subject: make sure mentions aren't processed early if delayed roars are enabled --- app/services/post_status_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services') 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 -- cgit