mirror of https://gitlab.com/bashrc2/epicyon
Allow alternate users path
parent
87982e0af4
commit
1297af4aec
1
posts.py
1
posts.py
|
@ -162,6 +162,7 @@ def getUserUrl(wfRequest: {}, sourceId=0) -> str:
|
||||||
continue
|
continue
|
||||||
if link['type'] != 'application/activity+json':
|
if link['type'] != 'application/activity+json':
|
||||||
continue
|
continue
|
||||||
|
if '/@' not in link['href']:
|
||||||
if not hasUsersPath(link['href']):
|
if not hasUsersPath(link['href']):
|
||||||
print('getUserUrl webfinger activity+json ' +
|
print('getUserUrl webfinger activity+json ' +
|
||||||
'contains single user instance actor ' +
|
'contains single user instance actor ' +
|
||||||
|
|
Loading…
Reference in New Issue