Allow page activities where actor is not the same

merge-requests/30/head
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 item['type'] == 'Create':
if not hasObjectDict(item): if not hasObjectDict(item):
continue continue
item = item['object']
if item['type'] != 'Create' and item['type'] != 'Announce': if item['type'] != 'Create' and item['type'] != 'Announce':
if item['type'] != 'Note' and item['type'] != 'Page': if item['type'] != 'Note' and item['type'] != 'Page':
continue continue
@ -313,7 +312,8 @@ def htmlProfileAfterSearch(cssCache: {},
item = newItem item = newItem
if not item.get('actor'): if not item.get('actor'):
continue continue
if not isAnnouncedFeedItem and item['actor'] != personUrl: if not isAnnouncedFeedItem and \
(item['actor'] != personUrl and item['type'] != 'Page'):
continue continue
profileStr += \ profileStr += \