mirror of https://gitlab.com/bashrc2/epicyon
Apply filters to display name lookups
parent
8bbd9b6173
commit
00b7cf430f
4
posts.py
4
posts.py
|
@ -295,6 +295,10 @@ def getPersonBox(baseDir: str, session, wfRequest: {},
|
|||
displayName = personJson['name']
|
||||
if dangerousMarkup(personJson['name'], False):
|
||||
displayName = '*ADVERSARY*'
|
||||
elif isFiltered(baseDir,
|
||||
nickname, domain,
|
||||
displayName):
|
||||
displayName = '*FILTERED*'
|
||||
# have they moved?
|
||||
if personJson.get('movedTo'):
|
||||
displayName += ' ⌂'
|
||||
|
|
Loading…
Reference in New Issue