Merge commit from fork
* Refuse granting quote authorization for reblogs * Add validation to reject quotes of reblogs * Do not process quotes of reblogs as potentially valid quotes * Refuse to serve quoted reblogs over REST API
This commit is contained in:
@@ -27,7 +27,7 @@ module Status::InteractionPolicyConcern
|
||||
|
||||
# Returns `:automatic`, `:manual`, `:unknown` or `:denied`
|
||||
def quote_policy_for_account(other_account, preloaded_relations: {})
|
||||
return :denied if other_account.nil? || direct_visibility?
|
||||
return :denied if other_account.nil? || direct_visibility? || reblog?
|
||||
|
||||
following_author = nil
|
||||
followed_by_author = nil
|
||||
|
||||
Reference in New Issue
Block a user