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:
|
if userFeed:
|
||||||
i = 0
|
i = 0
|
||||||
for item in userFeed:
|
for item in userFeed:
|
||||||
|
isAnnouncedFeedItem = False
|
||||||
if isCreateInsideAnnounce(item):
|
if isCreateInsideAnnounce(item):
|
||||||
|
isAnnouncedFeedItem = True
|
||||||
item = item['object']
|
item = item['object']
|
||||||
if not item.get('actor'):
|
if not item.get('actor'):
|
||||||
continue
|
continue
|
||||||
if item['actor'] != personUrl:
|
if not isAnnouncedFeedItem and item['actor'] != personUrl:
|
||||||
continue
|
continue
|
||||||
if not item.get('type'):
|
if not item.get('type'):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue