Allow page activities where actor is not the same

main
Bob Mottram 2021-11-18 19:13:21 +00:00
parent 81d16c148f
commit 846b1ebc0e
1 changed files with 2 additions and 2 deletions

View File

@ -290,7 +290,6 @@ def htmlProfileAfterSearch(cssCache: {},
if item['type'] == 'Create':
if not hasObjectDict(item):
continue
item = item['object']
if item['type'] != 'Create' and item['type'] != 'Announce':
if item['type'] != 'Note' and item['type'] != 'Page':
continue
@ -313,7 +312,8 @@ def htmlProfileAfterSearch(cssCache: {},
item = newItem
if not item.get('actor'):
continue
if not isAnnouncedFeedItem and item['actor'] != personUrl:
if not isAnnouncedFeedItem and \
(item['actor'] != personUrl and item['type'] != 'Page'):
continue
profileStr += \