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

th-downstream
Eugen Rochko 8 years ago
parent 41aae40927
commit bcdb0dc310

@ -34,6 +34,7 @@ class RemoveStatusService < BaseService
end end
def send_delete_salmon(account, status) def send_delete_salmon(account, status)
return unless status.local?
NotificationWorker.perform_async(status.stream_entry.id, account.id) NotificationWorker.perform_async(status.stream_entry.id, account.id)
end end

Loading…
Cancel
Save