Replace @ for webfinger

main
Bob Mottram 2021-01-24 22:25:08 +00:00
parent 1297af4aec
commit 1ec62fa38a
1 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,8 @@ def getUserUrl(wfRequest: {}, sourceId=0) -> str:
print('getUserUrl webfinger activity+json ' +
'contains single user instance actor ' +
str(sourceId) + ' ' + str(link))
else:
return link['href'].replace('/@', '/users/')
return link['href']
return None