about summary refs log tree commit diff
path: root/app/policies
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-11 13:17:47 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:17 -0500
commit04e405d0a420ce9cb722e9a2c28fc6276dc1e289 (patch)
tree6a6f25992fbd635b4e248d67ab91deb9c0b4ee18 /app/policies
parent163bc1a706e9a94687d28c885c1ff02089498b94 (diff)
[Privacy, Bug] Exclude unpublished statuses and replies from timeline generation
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/status_policy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/status_policy.rb b/app/policies/status_policy.rb
index 80e06d820..082c27f8e 100644
--- a/app/policies/status_policy.rb
+++ b/app/policies/status_policy.rb
@@ -25,7 +25,7 @@ class StatusPolicy < ApplicationPolicy
   end
 
   def reblog?
-    published && !requires_mention? && (!private? || owned?) && show? && !blocking_author?
+    published? && !requires_mention? && (!private? || owned?) && show? && !blocking_author?
   end
 
   def favourite?