force "acct:" on resource key on webfinger response

This commit is contained in:
jesopo 2019-09-11 10:53:57 +01:00
parent bbef6ee392
commit 0d0a7b95ef

View file

@ -89,7 +89,7 @@ class Module(ModuleManager.BaseModule):
"rel": "self",
"type": ACTIVITY_TYPE
}],
"subject": resource
"subject": "acct:%s" % resource
})
else:
event["response"].code = 404