From f85a8073216846f96cb1cdb906f59a449be51baf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 28 Oct 2021 10:34:11 +0100 Subject: [PATCH] Tidying --- webfinger.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webfinger.py b/webfinger.py index c2aa75358..c7a616508 100644 --- a/webfinger.py +++ b/webfinger.py @@ -159,10 +159,11 @@ def createWebfingerEndpoint(nickname: str, domain: str, port: int, profilePageHref = httpPrefix + '://' + domain + \ '/about/more?instance_actor=true' - avatarUrl = httpPrefix + "://" + domain + "/@" + personName + "/avatar.png" + personLink = httpPrefix + "://" + domain + "/@" + personName + avatarUrl = personLink + "/avatar.png" account = { "aliases": [ - httpPrefix + "://" + domain + "/@" + personName, + personLink, personId ], "links": [