From dd41ea979d495008fb5ab06336e1768816194fb2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 13 Jan 2020 13:13:40 +0000 Subject: [PATCH] Save scheduled post with altered parameters --- posts.py | 3 +++ 1 file changed, 3 insertions(+) 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,