Debug for DM

master
Bob Mottram 2019-08-19 09:45:10 +01:00
parent bc3c19fd9c
commit 8e3f5fd72c
1 changed files with 2 additions and 0 deletions

View File

@ -1852,6 +1852,8 @@ class PubServer(BaseHTTPRequestHandler):
fields['replyTo'],fields['replyTo'],fields['subject'])
if messageJson:
self.postToNickname=nickname
if self.server.debug:
print('DEBUG: new DM to '+str(messageJson['object']['to']))
if self._postToOutbox(messageJson):
populateReplies(self.server.baseDir, \
self.server.httpPrefix, \