gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/stable
Eugen Rochko 2016-10-16 19:14:23 +02:00
parent de1f3aab86
commit 0895ff414e
1 changed files with 1 additions and 0 deletions

View File

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