]> cat aescling's git repositories - mastodon.git/commitdiff
Fix remove status service sending salmons
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 14 Oct 2016 18:09:33 +0000 (20:09 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 14 Oct 2016 18:09:33 +0000 (20:09 +0200)
app/services/remove_status_service.rb

index 030d23ff6abf25c8bdbc02d0b21889d5022fe220..b8d6755b1b3a74720869a05334a8ebbe1159e912 100644 (file)
@@ -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)