master
Bob Mottram 2019-08-05 21:08:23 +01:00
parent 9772c0116f
commit 4dbf07031a
1 changed files with 0 additions and 3 deletions

View File

@ -1069,16 +1069,13 @@ def sendToNamedAddresses(session,baseDir: str, \
return
if not postJsonObject.get('object'):
return
toList=[]
if isinstance(postJsonObject['object'], dict):
if not postJsonObject['object'].get('to'):
return
toList=postJsonObject['object']['to']
recipientsObject=postJsonObject['object']
else:
if not postJsonObject.get('to'):
return
toList=postJsonObject['to']
recipientsObject=postJsonObject
recipients=[]