mirror of https://gitlab.com/bashrc2/epicyon
Detect conversationId field
parent
e0613d9469
commit
19649481b9
10
daemon.py
10
daemon.py
|
@ -13489,7 +13489,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.baseDir,
|
self.server.baseDir,
|
||||||
nickname, self.server.domain)
|
nickname, self.server.domain)
|
||||||
conversationId = None
|
conversationId = None
|
||||||
if fields['conversationId']:
|
if fields.get('conversationId'):
|
||||||
conversationId = fields['conversationId']
|
conversationId = fields['conversationId']
|
||||||
messageJson = \
|
messageJson = \
|
||||||
createPublicPost(self.server.baseDir,
|
createPublicPost(self.server.baseDir,
|
||||||
|
@ -13567,7 +13567,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
clientToServer = False
|
clientToServer = False
|
||||||
city = None
|
city = None
|
||||||
conversationId = None
|
conversationId = None
|
||||||
if fields['conversationId']:
|
if fields.get('conversationId'):
|
||||||
conversationId = fields['conversationId']
|
conversationId = fields['conversationId']
|
||||||
messageJson = \
|
messageJson = \
|
||||||
createBlogPost(self.server.baseDir, nickname,
|
createBlogPost(self.server.baseDir, nickname,
|
||||||
|
@ -13702,7 +13702,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
clientToServer = False
|
clientToServer = False
|
||||||
|
|
||||||
conversationId = None
|
conversationId = None
|
||||||
if fields['conversationId']:
|
if fields.get('conversationId'):
|
||||||
conversationId = fields['conversationId']
|
conversationId = fields['conversationId']
|
||||||
|
|
||||||
messageJson = \
|
messageJson = \
|
||||||
|
@ -13748,7 +13748,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
clientToServer = False
|
clientToServer = False
|
||||||
|
|
||||||
conversationId = None
|
conversationId = None
|
||||||
if fields['conversationId']:
|
if fields.get('conversationId'):
|
||||||
conversationId = fields['conversationId']
|
conversationId = fields['conversationId']
|
||||||
|
|
||||||
messageJson = \
|
messageJson = \
|
||||||
|
@ -13799,7 +13799,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
clientToServer = False
|
clientToServer = False
|
||||||
|
|
||||||
conversationId = None
|
conversationId = None
|
||||||
if fields['conversationId']:
|
if fields.get('conversationId'):
|
||||||
conversationId = fields['conversationId']
|
conversationId = fields['conversationId']
|
||||||
|
|
||||||
messageJson = \
|
messageJson = \
|
||||||
|
|
Loading…
Reference in New Issue