Detect conversationId field

main
Bob Mottram 2021-08-08 23:33:37 +01:00
parent e0613d9469
commit 19649481b9
1 changed files with 5 additions and 5 deletions

View File

@ -13489,7 +13489,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.baseDir,
nickname, self.server.domain)
conversationId = None
if fields['conversationId']:
if fields.get('conversationId'):
conversationId = fields['conversationId']
messageJson = \
createPublicPost(self.server.baseDir,
@ -13567,7 +13567,7 @@ class PubServer(BaseHTTPRequestHandler):
clientToServer = False
city = None
conversationId = None
if fields['conversationId']:
if fields.get('conversationId'):
conversationId = fields['conversationId']
messageJson = \
createBlogPost(self.server.baseDir, nickname,
@ -13702,7 +13702,7 @@ class PubServer(BaseHTTPRequestHandler):
clientToServer = False
conversationId = None
if fields['conversationId']:
if fields.get('conversationId'):
conversationId = fields['conversationId']
messageJson = \
@ -13748,7 +13748,7 @@ class PubServer(BaseHTTPRequestHandler):
clientToServer = False
conversationId = None
if fields['conversationId']:
if fields.get('conversationId'):
conversationId = fields['conversationId']
messageJson = \
@ -13799,7 +13799,7 @@ class PubServer(BaseHTTPRequestHandler):
clientToServer = False
conversationId = None
if fields['conversationId']:
if fields.get('conversationId'):
conversationId = fields['conversationId']
messageJson = \