From 5622de4a785e6b7c9a4946af3efaf8b4c2bc5755 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sun, 23 Aug 2020 09:38:27 -0500 Subject: [Feature] Support Misskey-compatible boosts with attached content notes --- app/services/process_mentions_service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/services/process_mentions_service.rb') diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb index 2ec21f22b..ba61e4464 100644 --- a/app/services/process_mentions_service.rb +++ b/app/services/process_mentions_service.rb @@ -9,8 +9,8 @@ class ProcessMentionsService < BaseService # @param [Status] status # @option [Enumerable] :mentions Mentions to include # @option [Boolean] :deliver Deliver mention notifications - def call(status, mentions: [], reveal_implicit_mentions: true, deliver: true) - return unless status.local? + def call(status, mentions: [], deliver: true) + return unless status.local? && !status.frozen? @status = status @status.text, mentions = ResolveMentionsService.new.call(@status, mentions: mentions) -- cgit