Fix: 引用される投稿ではなく引用する人の設定を見に行ってしまうため、引用許可が正常に動作しない問題
This commit is contained in:
parent
952f51659b
commit
26213e36d4
2 changed files with 18 additions and 1 deletions
|
@ -116,7 +116,7 @@ class ProcessReferencesService < BaseService
|
|||
end
|
||||
|
||||
def quotable?(target_status)
|
||||
@status.account.allow_quote? && (!@status.local? || StatusPolicy.new(@status.account, target_status).quote?)
|
||||
target_status.account.allow_quote? && (!@status.local? || StatusPolicy.new(@status.account, target_status).quote?)
|
||||
end
|
||||
|
||||
def add_references
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue