From 2d16ed3cde441ba372fef52f19f4bb7deec6b432 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 10 Aug 2018 15:14:51 -0500 Subject: [PATCH] actor: add missing fields --- viera/actor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/viera/actor.py b/viera/actor.py index 7d0329f..95e194c 100644 --- a/viera/actor.py +++ b/viera/actor.py @@ -30,12 +30,14 @@ async def actor(request): "inbox": "https://{}/inbox".format(request.host), "name": "Viera", "type": "Application", + "id": "https://{}/actor".format(request.host), "publicKey": { "id": "https://{}/actor#main-key".format(request.host), "owner": "https://{}/actor".format(request.host), "publicKeyPem": DATABASE["actorKeys"]["publicKey"] }, - "summary": "Viera, the bot" + "summary": "Viera, the bot", + "preferredUsername": "viera" } return aiohttp.web.json_response(data)