mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
Fix RemoveStatusService trying to send delete salmons on behalf of remote statuses
This commit is contained in:
parent
de1f3aab86
commit
0895ff414e
@ -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…
Reference in New Issue
Block a user