diff options
Diffstat (limited to 'app/policies/status_policy.rb')
-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 f0aeffa66..5f7c71342 100644 --- a/app/policies/status_policy.rb +++ b/app/policies/status_policy.rb @@ -93,7 +93,7 @@ class StatusPolicy < ApplicationPolicy def still_accessible? return true unless record.local? - record.created_at > record.account.user.max_public_access.to_i.days.ago + record.updated_at > record.account.user.max_public_access.to_i.days.ago end def author_allows_anon? |