mirror of https://gitlab.com/bashrc2/epicyon
Allow empty message up to the point of creation
parent
652394a739
commit
c7670cdd3a
|
@ -12170,7 +12170,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if not citationsButtonPress:
|
if not citationsButtonPress:
|
||||||
# process the received text fields from the POST
|
# process the received text fields from the POST
|
||||||
if not fields.get('message') and \
|
if not fields.get('message') and \
|
||||||
not fields.get('imageDescription'):
|
not fields.get('imageDescription') and \
|
||||||
|
not fields.get('pinToProfile'):
|
||||||
return -1
|
return -1
|
||||||
if fields.get('submitPost'):
|
if fields.get('submitPost'):
|
||||||
if fields['submitPost'] != \
|
if fields['submitPost'] != \
|
||||||
|
|
Loading…
Reference in New Issue