]> cat aescling's git repositories - mastodon.git/blobdiff - app/services/batched_remove_status_service.rb
Send streaming API delete to people mentioned in status (#5103)
[mastodon.git] / app / services / batched_remove_status_service.rb
index e1e845bc0dd4b37cf674095a3591fd983db87e9d..2fd623922fe3ce17869489b5334121271221f12f 100644 (file)
@@ -84,6 +84,8 @@ class BatchedRemoveStatusService < BaseService
   end
 
   def unpush_from_public_timelines(status)
+    return unless status.public_visibility?
+
     payload = @json_payloads[status.id]
 
     redis.pipelined do
This page took 0.046858 seconds and 4 git commands to generate.