main
Bob Mottram 2020-06-07 19:02:20 +01:00
parent 88d6ff7b7d
commit 82007a99ac
1 changed files with 4 additions and 4 deletions

View File

@ -684,10 +684,10 @@ def createPostBase(baseDir: str, nickname: str, domain: str, port: int,
removeFromCC = []
for ccRecipient in toCC:
for sendToActor in toRecipients:
if ccRecipient in sendToActor:
if ccRecipient not in removeFromCC:
removeFromCC.append(ccRecipient)
break
if ccRecipient in sendToActor and \
ccRecipient not in removeFromCC:
removeFromCC.append(ccRecipient)
break
for ccRemoval in removeFromCC:
toCC.remove(ccRemoval)