Missing object

merge-requests/30/head
Bob Mottram 2021-11-19 11:14:40 +00:00
parent 2a10a1e078
commit d3d9c60970
1 changed files with 2 additions and 1 deletions

View File

@ -317,7 +317,8 @@ def htmlProfileAfterSearch(cssCache: {},
continue
print('htmlProfileAfterSearch 4')
if not isAnnouncedFeedItem:
if item['actor'] != personUrl and item['type'] != 'Page':
if item['actor'] != personUrl and \
item['object']['type'] != 'Page':
continue
print('htmlProfileAfterSearch 5')