1
0
Fork 0
forked from gitea/nas

Fix status reference load remote statuses

This commit is contained in:
KMY 2023-09-19 22:49:25 +09:00
parent d78281fb1d
commit 443e95d54b
2 changed files with 3 additions and 2 deletions

View file

@ -87,7 +87,7 @@ class ProcessReferencesService < BaseService
target_urls.map do |url|
status = ResolveURLService.new.call(url, on_behalf_of: @status.account, fetch_remote: @fetch_remote && @no_fetch_urls.exclude?(url))
@no_fetch_urls << url if !@fetch_remote && status.present?
@no_fetch_urls << url if !@fetch_remote && status.present? && status.local?
status
end
end