diff options
-rw-r--r-- | app/policies/status_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/status_policy.rb b/app/policies/status_policy.rb index f23d089d4..4eae066db 100644 --- a/app/policies/status_policy.rb +++ b/app/policies/status_policy.rb @@ -91,6 +91,7 @@ class StatusPolicy < ApplicationPolicy end def still_accessible? + return true unless record.local? record.created_at > record.account.user.max_public_access.to_i.days.ago end |