mirror of
https://github.com/mastodon/mastodon.git
synced 2025-03-21 19:19:08 +01:00
Update resolve_url_service.rb (#9188)
This commit is contained in:
parent
449e6e451f
commit
430499fbe1
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class ResolveURLService < BaseService
|
||||||
def process_url
|
def process_url
|
||||||
if equals_or_includes_any?(type, %w(Application Group Organization Person Service))
|
if equals_or_includes_any?(type, %w(Application Group Organization Person Service))
|
||||||
FetchRemoteAccountService.new.call(atom_url, body, protocol)
|
FetchRemoteAccountService.new.call(atom_url, body, protocol)
|
||||||
elsif equals_or_includes_any?(type, %w(Note Article Image Video))
|
elsif equals_or_includes_any?(type, %w(Note Article Image Video Page))
|
||||||
FetchRemoteStatusService.new.call(atom_url, body, protocol)
|
FetchRemoteStatusService.new.call(atom_url, body, protocol)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue