diff --git a/posts.py b/posts.py index 6b457816..95bb9be8 100644 --- a/posts.py +++ b/posts.py @@ -1038,6 +1038,9 @@ def createDirectMessagePost(baseDir: str, messageJson['object']['to']=messageJson['to'] messageJson['cc']=[] messageJson['object']['cc']=[] + if schedulePost: + savePostToBox(baseDir,httpPrefix,messageJson['object']['id'], \ + nickname,domain,messageJson,'scheduled') return messageJson def createReportPost(baseDir: str,