Switched from Service to Person for actor representation

This commit is contained in:
Eliot Berriot 2018-03-30 18:34:23 +02:00
parent c57755fcaa
commit 74945759cc
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ def repr_instance_actor():
{}, {},
], ],
'id': utils.full_url(reverse('federation:instance-actor')), 'id': utils.full_url(reverse('federation:instance-actor')),
'type': 'Service', 'type': 'Person',
'inbox': utils.full_url(reverse('federation:instance-inbox')), 'inbox': utils.full_url(reverse('federation:instance-inbox')),
'outbox': utils.full_url(reverse('federation:instance-outbox')), 'outbox': utils.full_url(reverse('federation:instance-outbox')),
'preferredUsername': 'service', 'preferredUsername': 'service',

View File

@ -20,7 +20,7 @@ def test_repr_instance_actor(db, preferences, settings):
{}, {},
], ],
'id': actor_url, 'id': actor_url,
'type': 'Service', 'type': 'Person',
'preferredUsername': 'service', 'preferredUsername': 'service',
'name': 'Service Bot - test.federation', 'name': 'Service Bot - test.federation',
'summary': 'Bot account for federating with test.federation', 'summary': 'Bot account for federating with test.federation',