Filter bio on profile screen

This commit is contained in:
bashrc committed 2020-12-19 12:51:13 +00:00
1 parent 2e1efdbee8
commit 86c1a678dc
1 file changed
+2
+2
View File
@@ -885,6 +885,8 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
if actorJson.get('summary'):
bioStr = \
actorJson['summary'].replace('<p>', '').replace('</p>', '')
if isFiltered(baseDir, nickname, domain, bioStr):
bioStr = ''
if actorJson.get('manuallyApprovesFollowers'):
if actorJson['manuallyApprovesFollowers']:
manuallyApprovesFollowers = 'checked'