'account' is no longer reformatted u@instance
This commit is contained in:
parent
90d0452bfd
commit
3993447eeb
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
if webfinger_url == None:
|
if webfinger_url == None:
|
||||||
self.log.debug("host-meta lookup failed for %s" % instance)
|
self.log.debug("host-meta lookup failed for %s" % instance)
|
||||||
webfinger_url = WEBFINGER_DEFAULT % 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,
|
webfinger = utils.http.request(webfinger_url,
|
||||||
headers=WEBFINGER_HEADERS, json=True)
|
headers=WEBFINGER_HEADERS, json=True)
|
||||||
|
|
Loading…
Reference in a new issue