diff --git a/webapp_profile.py b/webapp_profile.py index e7b748edc..a7dbcd469 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -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 += \