0
0
Fork 0

Fix compatibility with PeerTube (#6968)

* Support fetching objects of convertible types by URL (fixes #6924)

* Ignore invalid hashtags
This commit is contained in:
ThibG 2018-03-30 15:44:54 +02:00 committed by Eugen Rochko
parent a6c129ddbd
commit e573bb0990
3 changed files with 8 additions and 2 deletions

View file

@ -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