mirror of https://gitlab.com/bashrc2/epicyon
Apply word filter to skill names
parent
93da5f9b72
commit
8f1ded15a3
|
@ -3773,7 +3773,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
actorJson['discoverable'] = False
|
||||
actorChanged = True
|
||||
if not actorJson['@context'][2].get('orgSchema'):
|
||||
actorJson['@context'][2]['orgSchema'] = 'toot:orgSchema'
|
||||
actorJson['@context'][2]['orgSchema'] = \
|
||||
'toot:orgSchema'
|
||||
actorChanged = True
|
||||
if not actorJson['@context'][2].get('skills'):
|
||||
actorJson['@context'][2]['skills'] = 'toot:skills'
|
||||
|
@ -3835,6 +3836,9 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if not skillName:
|
||||
skillCtr += 1
|
||||
continue
|
||||
if isFiltered(baseDir, nickname, domain, skillName):
|
||||
skillCtr += 1
|
||||
continue
|
||||
skillValue = \
|
||||
fields.get('skillValue' + str(skillCtr))
|
||||
if not skillValue:
|
||||
|
|
Loading…
Reference in New Issue