Allow empty message up to the point of creation

main
Bob Mottram 2021-01-24 18:40:33 +00:00
parent 652394a739
commit c7670cdd3a
1 changed files with 2 additions and 1 deletions

View File

@ -12170,7 +12170,8 @@ class PubServer(BaseHTTPRequestHandler):
if not citationsButtonPress:
# process the received text fields from the POST
if not fields.get('message') and \
not fields.get('imageDescription'):
not fields.get('imageDescription') and \
not fields.get('pinToProfile'):
return -1
if fields.get('submitPost'):
if fields['submitPost'] != \