diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-11 13:17:47 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:17 -0500 |
commit | 04e405d0a420ce9cb722e9a2c28fc6276dc1e289 (patch) | |
tree | 6a6f25992fbd635b4e248d67ab91deb9c0b4ee18 /app/policies | |
parent | 163bc1a706e9a94687d28c885c1ff02089498b94 (diff) |
[Privacy, Bug] Exclude unpublished statuses and replies from timeline generation
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/status_policy.rb | 2 |
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? |