diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-22 04:17:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-22 04:17:12 +0200 |
commit | 97192d9a77c0b4b68afe50d6a94d87110a8adbcd (patch) | |
tree | ee26296c9549c52f45bc098594a5b67392dc8851 /app/services/batched_remove_status_service.rb | |
parent | e9c3d1ef4603dfee19a59974771cb505ecfc3d29 (diff) |
Fix remote and staff-removed statuses leaving media behind for a day (#11638)
The reason for unattaching media instead of removing it is to support delete & redraft functionality, but remote or staff-removed statuses will never be redrafted, so the media should be deleted immediately
Diffstat (limited to 'app/services/batched_remove_status_service.rb')
-rw-r--r-- | app/services/batched_remove_status_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/batched_remove_status_service.rb b/app/services/batched_remove_status_service.rb index 6df8d4769..3638134be 100644 --- a/app/services/batched_remove_status_service.rb +++ b/app/services/batched_remove_status_service.rb @@ -8,7 +8,7 @@ class BatchedRemoveStatusService < BaseService # Dispatch Salmon deletes, unique per domain, of the deleted statuses, but only local ones # Remove statuses from home feeds # Push delete events to streaming API for home feeds and public feeds - # @param [Status] statuses A preferably batched array of statuses + # @param [Enumerable<Status>] statuses A preferably batched array of statuses # @param [Hash] options # @option [Boolean] :skip_side_effects def call(statuses, **options) |