mirror of https://gitlab.com/bashrc2/epicyon
Check actor when showing profile after search
parent
d65764b548
commit
6b2226ff37
|
@ -279,6 +279,10 @@ def htmlProfileAfterSearch(cssCache: {},
|
|||
i = 0
|
||||
for item in parseUserFeed(session, outboxUrl, asHeader,
|
||||
projectVersion, httpPrefix, domain):
|
||||
if not item.get('actor'):
|
||||
continue
|
||||
if item['actor'] != personUrl:
|
||||
continue
|
||||
if not item.get('type'):
|
||||
continue
|
||||
if item['type'] != 'Create' and item['type'] != 'Announce':
|
||||
|
|
Loading…
Reference in New Issue