From 98931de28367d1230600497803231b9918fbe3ee Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 9 Sep 2019 10:30:06 +0100 Subject: [PATCH] remove redundant (and maybe wrong) GET params from webfinger call closes #143 --- modules/fediverse.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/fediverse.py b/modules/fediverse.py index 1a341e8a..bcf5c7dc 100644 --- a/modules/fediverse.py +++ b/modules/fediverse.py @@ -61,9 +61,7 @@ class Module(ModuleManager.BaseModule): webfinger_url = webfinger_url.replace("{uri}", "acct:%s" % account) webfinger = utils.http.request(webfinger_url, - headers=WEBFINGER_HEADERS, - get_params={"resource": "acct:%s" % account}, - json=True) + headers=WEBFINGER_HEADERS, json=True) activity_url = None for link in webfinger.data["links"]: