summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/decorate.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-01-01 11:28:29 -0500
committerBarry Warsaw2011-01-01 11:28:29 -0500
commit3f1f5a2826feb9c5fb202ae266ba7f0ff76ebe21 (patch)
tree1bab06750e306942180b18383c06ad2804f98677 /src/mailman/pipeline/decorate.py
parentd0f8e9e03d3c55641165b73a4d8971ec514a9cdc (diff)
downloadmailman-3f1f5a2826feb9c5fb202ae266ba7f0ff76ebe21.tar.gz
mailman-3f1f5a2826feb9c5fb202ae266ba7f0ff76ebe21.tar.zst
mailman-3f1f5a2826feb9c5fb202ae266ba7f0ff76ebe21.zip
Diffstat (limited to 'src/mailman/pipeline/decorate.py')
-rw-r--r--src/mailman/pipeline/decorate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/pipeline/decorate.py b/src/mailman/pipeline/decorate.py
index 66ec83e90..4648b17f3 100644
--- a/src/mailman/pipeline/decorate.py
+++ b/src/mailman/pipeline/decorate.py
@@ -57,12 +57,12 @@ def process(mlist, msg, msgdata):
member = mlist.members.get_member(recipient)
d['user_address'] = recipient
if user is not None and member is not None:
- d['user_delivered_to'] = member.address.original_address
+ d['user_delivered_to'] = member.address.original_email
# BAW: Hmm, should we allow this?
d['user_password'] = user.password
d['user_language'] = member.preferred_language.description
d['user_name'] = (user.real_name if user.real_name
- else member.address.original_address)
+ else member.address.original_email)
d['user_optionsurl'] = member.options_url
# These strings are descriptive for the log file and shouldn't be i18n'd
d.update(msgdata.get('decoration-data', {}))