Commit 7191a2a2 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

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

Switched from Service to Person for actor representation

See merge request !117
parents c57755fc 74945759
...@@ -21,7 +21,7 @@ def repr_instance_actor(): ...@@ -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',
......
...@@ -20,7 +20,7 @@ def test_repr_instance_actor(db, preferences, settings): ...@@ -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',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment