diff options
author | ThibG <thib@sitedethib.com> | 2018-03-30 15:44:54 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-03-30 15:44:54 +0200 |
commit | e573bb0990ece4b1a521ccf8a4c7bec5972d3538 (patch) | |
tree | b1c7c3b3d81aafb6bc256d74b02fbec1a54878f8 /app/services/resolve_url_service.rb | |
parent | a6c129ddbdaaa84bc631d85eb248fb5a9fa7eb96 (diff) |
Fix compatibility with PeerTube (#6968)
* Support fetching objects of convertible types by URL (fixes #6924) * Ignore invalid hashtags
Diffstat (limited to 'app/services/resolve_url_service.rb')
-rw-r--r-- | app/services/resolve_url_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/resolve_url_service.rb b/app/services/resolve_url_service.rb index 1f2b24524..9499dc286 100644 --- a/app/services/resolve_url_service.rb +++ b/app/services/resolve_url_service.rb @@ -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 |