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' + \
|
||||
'</div>\n'
|
||||
|
||||
userFeed = \
|
||||
parseUserFeed(session, outboxUrl, asHeader, projectVersion,
|
||||
httpPrefix, domain, debug)
|
||||
if userFeed:
|
||||
i = 0
|
||||
print('Test 5236543: ' + str(outboxUrl) + ' v' +
|
||||
str(projectVersion) + ' http:' + str(httpPrefix) + ' ' +
|
||||
str(domain) + ' debug:' + str(debug))
|
||||
for item in parseUserFeed(session, outboxUrl, asHeader,
|
||||
projectVersion, httpPrefix, domain, debug):
|
||||
for item in userFeed:
|
||||
if not item.get('actor'):
|
||||
continue
|
||||
if item['actor'] != personUrl:
|
||||
|
@ -270,7 +270,8 @@ def htmlProfileAfterSearch(cssCache: {},
|
|||
httpPrefix, projectVersion, 'inbox',
|
||||
YTReplacementDomain,
|
||||
showPublishedDateOnly,
|
||||
peertubeInstances, allowLocalNetworkAccess,
|
||||
peertubeInstances,
|
||||
allowLocalNetworkAccess,
|
||||
themeName, systemLanguage,
|
||||
False, False, False, False, False)
|
||||
i += 1
|
||||
|
|
Loading…
Reference in New Issue