1
0
Fork 0
forked from gitea/nas

Fix: 一部サーバーの投稿が参照引用できない問題・参照引用時、フェッチを基本しないよう変更

This commit is contained in:
KMY 2023-12-15 08:21:36 +09:00
parent acdf1ef2c9
commit 7b847f4eb3
7 changed files with 105 additions and 11 deletions

View file

@ -505,7 +505,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
url = quote
if url.present?
ResolveURLService.new.call(url, on_behalf_of: @account, local_only: true).present?
ActivityPub::TagManager.instance.uri_to_resource(url, Status)&.local?
else
false
end