Save scheduled post with altered parameters

main
Bob Mottram 2020-01-13 13:13:40 +00:00
parent 18dfbf6e3b
commit dd41ea979d
1 changed files with 3 additions and 0 deletions

View File

@ -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,