From 8e3f5fd72cd2d3c9cfca17a0b0bbd010d8ccdbe4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 19 Aug 2019 09:45:10 +0100 Subject: [PATCH] Debug for DM --- daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon.py b/daemon.py index ee4b18ad..e519bd9e 100644 --- a/daemon.py +++ b/daemon.py @@ -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, \