return url on actor

This commit is contained in:
jesopo 2019-09-11 10:54:36 +01:00
parent 0d0a7b95ef
commit b6133579d1

View file

@ -113,7 +113,7 @@ class Module(ModuleManager.BaseModule):
event["response"].content_type = ACTIVITY_TYPE event["response"].content_type = ACTIVITY_TYPE
event["response"].write_json({ event["response"].write_json({
"@context": "https://www.w3.org/ns/activitystreams", "@context": "https://www.w3.org/ns/activitystreams",
"id": self_id, "id": self_id, "url": self_id,
"type": "Person", "type": "Person",
"summary": "beep boop", "summary": "beep boop",
"preferredUsername": our_username, "name": our_username, "preferredUsername": our_username, "name": our_username,