Browse Source

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

pull/4/head
Eugen Rochko 6 years ago
parent
commit
0895ff414e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/services/remove_status_service.rb

+ 1
- 0
app/services/remove_status_service.rb View File

@ -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

Loading…
Cancel
Save