From 0d0a7b95ef1bf7c3b9758453f0db0acc5374cb9c Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 11 Sep 2019 10:53:57 +0100 Subject: [PATCH] force "acct:" on `resource` key on webfinger response --- modules/fediverse_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fediverse_server.py b/modules/fediverse_server.py index 3931a055..eb868219 100644 --- a/modules/fediverse_server.py +++ b/modules/fediverse_server.py @@ -89,7 +89,7 @@ class Module(ModuleManager.BaseModule): "rel": "self", "type": ACTIVITY_TYPE }], - "subject": resource + "subject": "acct:%s" % resource }) else: event["response"].code = 404