Fix compatibility with PeerTube (#6968)
* Support fetching objects of convertible types by URL (fixes #6924) * Ignore invalid hashtags
This commit is contained in:
parent
a6c129ddbd
commit
e573bb0990
3 changed files with 8 additions and 2 deletions
|
@ -19,7 +19,7 @@ class ResolveURLService < BaseService
|
|||
case type
|
||||
when 'Person'
|
||||
FetchRemoteAccountService.new.call(atom_url, body, protocol)
|
||||
when 'Note'
|
||||
when 'Note', 'Article', 'Image', 'Video'
|
||||
FetchRemoteStatusService.new.call(atom_url, body, protocol)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue