From: Eugen Rochko Date: Fri, 14 Oct 2016 18:09:33 +0000 (+0200) Subject: Fix remove status service sending salmons X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=244d1307a3d5172230d93e74741e534772200bf0;p=mastodon.git Fix remove status service sending salmons --- 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)