From 769d4e1a28c09f47996dc3ac0b07ab2858f1fa94 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 15 Sep 2019 11:24:59 +0100 Subject: [PATCH] _ap_self_url no longer takes a username param --- modules/fediverse/ap_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fediverse/ap_server.py b/modules/fediverse/ap_server.py index 416ab32a..2db09b12 100644 --- a/modules/fediverse/ap_server.py +++ b/modules/fediverse/ap_server.py @@ -77,7 +77,7 @@ class Server(object): if (requested_username == self.username and requested_instance == self.instance): - self_id = self._ap_self_url(event["url_for"], self.username) + self_id = self._ap_self_url(event["url_for"]) event["response"].content_type = ap_utils.JRD_TYPE event["response"].write_json({