Also update the create

main
Bob Mottram 2019-11-10 12:34:44 +00:00
parent 9e53f93997
commit 246e280231
1 changed files with 3 additions and 1 deletions

View File

@ -930,7 +930,9 @@ def createDirectMessagePost(baseDir: str,
False,inReplyTo,inReplyToAtomUri,subject, \ False,inReplyTo,inReplyToAtomUri,subject, \
eventDate,eventTime,location) eventDate,eventTime,location)
# mentioned recipients go into To rather than Cc # mentioned recipients go into To rather than Cc
messageJson['object']['to']=messageJson['object']['cc'] messageJson['to']=messageJson['object']['cc']
messageJson['object']['to']=messageJson['to']
messageJson['cc']=[]
messageJson['object']['cc']=[] messageJson['object']['cc']=[]
return messageJson return messageJson