Merge remote-tracking branch 'parent/main' into upstream-20231204

This commit is contained in:
KMY 2023-12-04 12:04:52 +09:00
commit 94c2396a34
179 changed files with 1036 additions and 775 deletions

View file

@ -11,7 +11,7 @@ class StatusPolicy < ApplicationPolicy
delegate :reply?, :expired?, to: :record
def show?
return false if author.suspended?
return false if author.unavailable?
if requires_mention?
owned? || mention_exists?