Merge branch 'federation-person-type' into 'develop'

Switched from Service to Person for actor representation

See merge request funkwhale/funkwhale!117
This commit is contained in:
Eliot Berriot 2018-03-30 16:36:06 +00:00
commit 7191a2a2c0
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')),
'type': 'Service',
'type': 'Person',
'inbox': utils.full_url(reverse('federation:instance-inbox')),
'outbox': utils.full_url(reverse('federation:instance-outbox')),
'preferredUsername': 'service',

View File

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