From 3993447eeb646f2cc79c9b13e20f303d8c7de9d5 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 10 Sep 2019 15:46:25 +0100 Subject: [PATCH] 'account' is no longer reformatted u@instance --- modules/fediverse.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/fediverse.py b/modules/fediverse.py index e77888e2..7277c1b7 100644 --- a/modules/fediverse.py +++ b/modules/fediverse.py @@ -64,7 +64,8 @@ class Module(ModuleManager.BaseModule): if webfinger_url == None: self.log.debug("host-meta lookup failed for %s" % instance) webfinger_url = WEBFINGER_DEFAULT % instance - webfinger_url = webfinger_url.replace("{uri}", "acct:%s" % account) + webfinger_url = webfinger_url.replace("{uri}", + "acct:%s@%s" % (username, instance)) webfinger = utils.http.request(webfinger_url, headers=WEBFINGER_HEADERS, json=True)