mirror of https://gitlab.com/bashrc2/epicyon
Remove sending post screen
parent
526ccad163
commit
34d26e3ce8
13
daemon.py
13
daemon.py
|
@ -9261,11 +9261,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
privateEvent = True
|
privateEvent = True
|
||||||
|
|
||||||
# show a sending post screen
|
# show a sending post screen
|
||||||
msg = \
|
# msg = \
|
||||||
htmlSendingPost(self.server.baseDir,
|
# htmlSendingPost(self.server.baseDir,
|
||||||
self.server.translate).encode('utf-8')
|
# self.server.translate).encode('utf-8')
|
||||||
self._login_headers('text/html', len(msg), callingDomain)
|
# self._login_headers('text/html', len(msg), callingDomain)
|
||||||
self._write(msg)
|
# self._write(msg)
|
||||||
|
|
||||||
if postType == 'newpost':
|
if postType == 'newpost':
|
||||||
messageJson = \
|
messageJson = \
|
||||||
|
@ -9544,8 +9544,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if messageJson:
|
if messageJson:
|
||||||
if fields['schedulePost']:
|
if fields['schedulePost']:
|
||||||
return 1
|
return 1
|
||||||
# if self.server.debug:
|
print('Sending new DM to ' +
|
||||||
print('DEBUG: new DM to ' +
|
|
||||||
str(messageJson['object']['to']))
|
str(messageJson['object']['to']))
|
||||||
if self._postToOutbox(messageJson, __version__, nickname):
|
if self._postToOutbox(messageJson, __version__, nickname):
|
||||||
populateReplies(self.server.baseDir,
|
populateReplies(self.server.baseDir,
|
||||||
|
|
Loading…
Reference in New Issue