forked from indymedia/epicyon
Try single user instance during search
parent
38e954af17
commit
fac6713185
|
@ -3254,9 +3254,9 @@ def htmlProfileAfterSearch(translate: {}, \
|
||||||
if not personUrl:
|
if not personUrl:
|
||||||
personUrl = getUserUrl(wf)
|
personUrl = getUserUrl(wf)
|
||||||
if not personUrl:
|
if not personUrl:
|
||||||
if debug:
|
# try single user instance
|
||||||
print('DEBUG: Webfinger did not return an actor url')
|
asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'}
|
||||||
return None
|
personUrl=httpPrefix+'://'+searchDomainFull
|
||||||
profileJson = getJson(session,personUrl,asHeader,None,projectVersion,httpPrefix,domain)
|
profileJson = getJson(session,personUrl,asHeader,None,projectVersion,httpPrefix,domain)
|
||||||
if not profileJson:
|
if not profileJson:
|
||||||
asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'}
|
asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'}
|
||||||
|
|
Loading…
Reference in New Issue