about summary refs log tree commit diff
path: root/app/services/process_mentions_service.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-15 02:12:04 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:18 -0500
commit8efbea953c436af514f6b39eb22316100e522c90 (patch)
treefbe01bfdaef58c3582dde3ef569a53df72b97aab /app/services/process_mentions_service.rb
parent0e935eb05412712c3f667bcd9e08a820e532a169 (diff)
[Federation] Force out-of-body mentions to be delivered without a notification
Diffstat (limited to 'app/services/process_mentions_service.rb')
-rw-r--r--app/services/process_mentions_service.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb
index fea00ef4f..2ec21f22b 100644
--- a/app/services/process_mentions_service.rb
+++ b/app/services/process_mentions_service.rb
@@ -8,13 +8,12 @@ class ProcessMentionsService < BaseService
   # remote users
   # @param [Status] status
   # @option [Enumerable] :mentions Mentions to include
-  # @option [Boolean] :reveal_implicit_mentions Append implicit mentions to text
   # @option [Boolean] :deliver Deliver mention notifications
   def call(status, mentions: [], reveal_implicit_mentions: true, deliver: true)
     return unless status.local?
 
     @status = status
-    @status.text, mentions = ResolveMentionsService.new.call(@status, mentions: mentions, reveal_implicit_mentions: reveal_implicit_mentions)
+    @status.text, mentions = ResolveMentionsService.new.call(@status, mentions: mentions)
     @status.save!
 
     return unless deliver