Fix status reference load remote statuses
This commit is contained in:
parent
d78281fb1d
commit
443e95d54b
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue