mirror of https://gitlab.com/bashrc2/epicyon
Handle actors with no public feed
parent
9494a83263
commit
fcb2a7404f
|
@ -244,12 +244,12 @@ def htmlProfileAfterSearch(cssCache: {},
|
||||||
' </form>\n' + \
|
' </form>\n' + \
|
||||||
'</div>\n'
|
'</div>\n'
|
||||||
|
|
||||||
|
userFeed = \
|
||||||
|
parseUserFeed(session, outboxUrl, asHeader, projectVersion,
|
||||||
|
httpPrefix, domain, debug)
|
||||||
|
if userFeed:
|
||||||
i = 0
|
i = 0
|
||||||
print('Test 5236543: ' + str(outboxUrl) + ' v' +
|
for item in userFeed:
|
||||||
str(projectVersion) + ' http:' + str(httpPrefix) + ' ' +
|
|
||||||
str(domain) + ' debug:' + str(debug))
|
|
||||||
for item in parseUserFeed(session, outboxUrl, asHeader,
|
|
||||||
projectVersion, httpPrefix, domain, debug):
|
|
||||||
if not item.get('actor'):
|
if not item.get('actor'):
|
||||||
continue
|
continue
|
||||||
if item['actor'] != personUrl:
|
if item['actor'] != personUrl:
|
||||||
|
@ -270,7 +270,8 @@ def htmlProfileAfterSearch(cssCache: {},
|
||||||
httpPrefix, projectVersion, 'inbox',
|
httpPrefix, projectVersion, 'inbox',
|
||||||
YTReplacementDomain,
|
YTReplacementDomain,
|
||||||
showPublishedDateOnly,
|
showPublishedDateOnly,
|
||||||
peertubeInstances, allowLocalNetworkAccess,
|
peertubeInstances,
|
||||||
|
allowLocalNetworkAccess,
|
||||||
themeName, systemLanguage,
|
themeName, systemLanguage,
|
||||||
False, False, False, False, False)
|
False, False, False, False, False)
|
||||||
i += 1
|
i += 1
|
||||||
|
|
Loading…
Reference in New Issue