Mentioned recipients may not exist

master
Bob Mottram 2019-08-19 13:40:59 +01:00
parent cf96d38b9d
commit 4937bf9d91
1 changed files with 4 additions and 3 deletions

View File

@ -471,6 +471,7 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
toRecipients=[toUrl] toRecipients=[toUrl]
# who to send to # who to send to
if mentionedRecipients:
for mention in mentionedRecipients: for mention in mentionedRecipients:
if mention not in toRecipients: if mention not in toRecipients:
toRecipients.append(mention) toRecipients.append(mention)