diff options
Diffstat (limited to 'Mailman/Handlers/CalcRecips.py')
| -rw-r--r-- | Mailman/Handlers/CalcRecips.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mailman/Handlers/CalcRecips.py b/Mailman/Handlers/CalcRecips.py index 83f5a2e69..860f3afbe 100644 --- a/Mailman/Handlers/CalcRecips.py +++ b/Mailman/Handlers/CalcRecips.py @@ -28,6 +28,10 @@ from Mailman import mm_cfg def process(mlist, msg): + # yes, short circuit if the message object already has a recipients + # attribute, regardless of whether the list is empty or not. + if hasattr(msg, 'recips'): + return dont_send_to_sender = 0 # Get the membership address of the sender, if a member. Then get the # sender's receive-own-posts option |
