From f048e2efffb155d28dbb1b93536a06fd3541a209 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 11 Aug 2018 10:21:08 -0500 Subject: [PATCH] actor: add url field for older mastodon --- viera/actor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/viera/actor.py b/viera/actor.py index a63a9a4..c2ff2ac 100644 --- a/viera/actor.py +++ b/viera/actor.py @@ -49,7 +49,8 @@ async def actor(request): "publicKeyPem": DATABASE["actorKeys"]["publicKey"] }, "summary": "Viera, the bot", - "preferredUsername": "viera" + "preferredUsername": "viera", + "url": "https://{}/actor".format(request.host) } return aiohttp.web.json_response(data)