Ensure blocked users cannot quote (#35624)

This commit is contained in:
Claire authored and GitHub committed 2025-08-01 09:34:12 +00:00
1 parent 29a5f059d2
commit 6268321316
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@ class StatusPolicy < ApplicationPolicy
# This is about requesting a quote post, not validating it
def quote?
record.quote_policy_for_account(current_account, preloaded_relations: @preloaded_relations) != :denied
show? && record.quote_policy_for_account(current_account, preloaded_relations: @preloaded_relations) != :denied
end
def reblog?