Fix quote

This commit is contained in:
KMY 2023-10-02 13:52:14 +09:00
parent cd01ffc54e
commit ee406e6fb9

View file

@ -116,7 +116,7 @@ class ProcessReferencesService < BaseService
end
def quotable?(target_status)
@status.account.allow_quote? && StatusPolicy.new(@status.account, target_status).quote?
@status.account.allow_quote? && (!@status.local? || StatusPolicy.new(@status.account, target_status).quote?)
end
def add_references