From 244d1307a3d5172230d93e74741e534772200bf0 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 14 Oct 2016 20:09:33 +0200 Subject: [PATCH] Fix remove status service sending salmons --- app/services/remove_status_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb index 030d23ff6..b8d6755b1 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) - NotificationWorker.perform_async(status.stream_entry_id, account.id) + NotificationWorker.perform_async(status.stream_entry.id, account.id) end def remove_reblogs(status)