diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-16 19:14:23 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-16 19:14:23 +0200 |
commit | 0895ff414e73212e23c3d680846b5b8b7666bdfd (patch) | |
tree | 2de56f6a61dd828724ed1c15eb47ffe24d2232e2 /app/services | |
parent | de1f3aab868f8d18198438c405d0852c58f34e10 (diff) |
Fix RemoveStatusService trying to send delete salmons on behalf of remote statuses
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/remove_status_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb index b8d6755b1..0b78b131a 100644 --- a/app/services/remove_status_service.rb +++ b/app/services/remove_status_service.rb @@ -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 |