Group webfinger

merge-requests/30/head
Bob Mottram 2021-07-29 17:19:54 +01:00
parent cf809f3b09
commit da3a2672ef
1 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,9 @@ def webfingerHandle(session, handle: str, httpPrefix: str,
print('ERROR: webfingerHandle acct ' + str(e))
pass
if not success:
par['resource'] = par['resource'].replace('acct:', 'group:')
par = {
'resource': 'group:{}'.format(nickname + '@' + wfDomain)
}
try:
result = \
getJson(session, url, hdr, par,