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,9 +471,10 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
toRecipients=[toUrl] toRecipients=[toUrl]
# who to send to # who to send to
for mention in mentionedRecipients: if mentionedRecipients:
if mention not in toRecipients: for mention in mentionedRecipients:
toRecipients.append(mention) if mention not in toRecipients:
toRecipients.append(mention)
# create a list of hashtags # create a list of hashtags
if hashtagsDict: if hashtagsDict: