From d6a64f45fd4530cfee4f7721f0c6e7ca28fe677f Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Mon, 12 Sep 2016 19:20:55 +0200
Subject: Adding a notification stack for error messages

---
 app/services/remove_status_service.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'app/services')

diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb
index 681c6843b..b64f04a14 100644
--- a/app/services/remove_status_service.rb
+++ b/app/services/remove_status_service.rb
@@ -34,7 +34,7 @@ class RemoveStatusService < BaseService
   end
 
   def send_delete_salmon(account, status)
-    SendInteractionService.new.(status.stream_entry, account)
+    NotificationWorker.perform_async(status.stream_entry_id, account.id)
   end
 
   def remove_reblogs(status)
-- 
cgit