0
0
Fork 0

Support all ActivityPub actor types (#6997)

Fix #6973
This commit is contained in:
Eugen Rochko 2018-04-02 02:10:53 +02:00 committed by GitHub
parent 33513753b9
commit f890d2a766
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 6 deletions

View file

@ -17,7 +17,7 @@ class ResolveURLService < BaseService
def process_url
case type
when 'Person'
when 'Application', 'Group', 'Organization', 'Person', 'Service'
FetchRemoteAccountService.new.call(atom_url, body, protocol)
when 'Note', 'Article', 'Image', 'Video'
FetchRemoteStatusService.new.call(atom_url, body, protocol)