Skip to content
Snippets Groups Projects
Commit 0895ff41 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix RemoveStatusService trying to send delete salmons on behalf of remote statuses

parent de1f3aab
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@ class RemoveStatusService < BaseService
end
def send_delete_salmon(account, status)
return unless status.local?
NotificationWorker.perform_async(status.stream_entry.id, account.id)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment