diff options
| author | bwarsaw | 1999-11-16 04:18:34 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-11-16 04:18:34 +0000 |
| commit | 7d20a6702f4b9dffe9b9a71ee53763075d86c588 (patch) | |
| tree | d68aad578d887e8a8131d0761bd82182280ed1a8 /Mailman/Handlers/CalcRecips.py | |
| parent | dd07bed2ad90cc6fe8672b46f080ac80271bb0cc (diff) | |
| download | mailman-7d20a6702f4b9dffe9b9a71ee53763075d86c588.tar.gz mailman-7d20a6702f4b9dffe9b9a71ee53763075d86c588.tar.zst mailman-7d20a6702f4b9dffe9b9a71ee53763075d86c588.zip | |
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 |
