summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/calculate_recipients.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/pipeline/calculate_recipients.py')
-rw-r--r--src/mailman/pipeline/calculate_recipients.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/pipeline/calculate_recipients.py b/src/mailman/pipeline/calculate_recipients.py
index 9837c1e6b..0850db929 100644
--- a/src/mailman/pipeline/calculate_recipients.py
+++ b/src/mailman/pipeline/calculate_recipients.py
@@ -56,8 +56,7 @@ class CalculateRecipients:
return
# Should the original sender should be included in the recipients list?
include_sender = True
- sender = msg.get_sender()
- member = mlist.members.get_member(sender)
+ member = mlist.members.get_member(msg.sender)
if member and not member.receive_own_postings:
include_sender = False
# Support for urgent messages, which bypasses digests and disabled