mirror of https://gitlab.com/bashrc2/epicyon
Announces may not have the same actor
parent
5895b3d50b
commit
a23b7d9af8
|
@ -261,11 +261,13 @@ def htmlProfileAfterSearch(cssCache: {},
|
|||
if userFeed:
|
||||
i = 0
|
||||
for item in userFeed:
|
||||
isAnnouncedFeedItem = False
|
||||
if isCreateInsideAnnounce(item):
|
||||
isAnnouncedFeedItem = True
|
||||
item = item['object']
|
||||
if not item.get('actor'):
|
||||
continue
|
||||
if item['actor'] != personUrl:
|
||||
if not isAnnouncedFeedItem and item['actor'] != personUrl:
|
||||
continue
|
||||
if not item.get('type'):
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue