about summary refs log tree commit diff
path: root/app/services/process_mentions_service.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-11-09 14:56:31 +0100
committerThibaut Girka <thib@sitedethib.com>2018-11-09 14:56:31 +0100
commit9201398507be60ee67c1b36d3763da800812af5b (patch)
tree31d63d5504e2041f0ad022a6181aaafeb273f6e7 /app/services/process_mentions_service.rb
parenta2a254625b7b1a718038b0847e89dd3c20511197 (diff)
parented7c5f94f7c8c062c3a931fd2cf4f37433c81c13 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/services/process_mentions_service.rb')
-rw-r--r--app/services/process_mentions_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb
index b4641c4b4..ec7d33b1d 100644
--- a/app/services/process_mentions_service.rb
+++ b/app/services/process_mentions_service.rb
@@ -47,7 +47,7 @@ class ProcessMentionsService < BaseService
     mentioned_account = mention.account
 
     if mentioned_account.local?
-      LocalNotificationWorker.perform_async(mention.id)
+      LocalNotificationWorker.perform_async(mentioned_account.id, mention.id, mention.class.name)
     elsif mentioned_account.ostatus? && !@status.stream_entry.hidden?
       NotificationWorker.perform_async(ostatus_xml, @status.account_id, mentioned_account.id)
     elsif mentioned_account.activitypub?