Check webfinger exists

merge-requests/8/head
Bob Mottram 2020-12-31 10:56:22 +00:00
parent 9d937826bc
commit 9efecfc28e
1 changed files with 2 additions and 0 deletions

View File

@ -212,6 +212,8 @@ def getPersonBox(baseDir: str, session, wfRequest: {},
nickname: str, domain: str,
boxName='inbox',
sourceId=0) -> (str, str, str, str, str, str, str, str):
if not wfRequest:
return None, None, None, None, None, None, None
profileStr = 'https://www.w3.org/ns/activitystreams'
asHeader = {
'Accept': 'application/activity+json; profile="' + profileStr + '"'