From 86c1a678dccce5e64cceef02655015fdc436bcbe Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 19 Dec 2020 12:51:13 +0000 Subject: [PATCH] Filter bio on profile screen --- webapp_profile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp_profile.py b/webapp_profile.py index 5cf2ec3c..a60256b1 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -885,6 +885,8 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str, if actorJson.get('summary'): bioStr = \ actorJson['summary'].replace('

', '').replace('

', '') + if isFiltered(baseDir, nickname, domain, bioStr): + bioStr = '' if actorJson.get('manuallyApprovesFollowers'): if actorJson['manuallyApprovesFollowers']: manuallyApprovesFollowers = 'checked'