Avoid erasing bio

merge-requests/21/head
Bob Mottram 2021-02-25 17:19:22 +00:00
parent efedbffc3c
commit a0469db654
1 changed files with 4 additions and 3 deletions

View File

@ -4566,9 +4566,10 @@ class PubServer(BaseHTTPRequestHandler):
else:
if checkNameAndBio:
redirectPath = 'previewAvatar'
if actorJson['summary']:
actorJson['summary'] = ''
actorChanged = True
else:
if actorJson['summary']:
actorJson['summary'] = ''
actorChanged = True
adminNickname = \
getConfigParam(baseDir, 'admin')