aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-09 10:30:06 +0100
committerGravatar jesopo2019-09-09 10:30:06 +0100
commit98931de28367d1230600497803231b9918fbe3ee (patch)
treee78705d5a140eb3f391a5b6a5bdbd76a7d26b3fa
parentsupport location names for !timezone too (diff)
signature
remove redundant (and maybe wrong) GET params from webfinger call
closes #143
-rw-r--r--modules/fediverse.py4
1 files changed, 1 insertions, 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"]: