aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorJim Popovitch <jimpop@domainmail.org>2018-06-12 02:05:08 +0000
committerJim Popovitch <jimpop@domainmail.org>2018-06-12 02:05:08 +0000
commit4c54a401f9070bcb385a44bbaec8c08facb10ee4 (patch)
tree587d89dab3a56a02cd4e329d7799d0f925656eb3 /Mailman
parentd363c183a208a1ef34847656533cb818d7a7cf50 (diff)
downloadmailman2-4c54a401f9070bcb385a44bbaec8c08facb10ee4.tar.gz
mailman2-4c54a401f9070bcb385a44bbaec8c08facb10ee4.tar.xz
mailman2-4c54a401f9070bcb385a44bbaec8c08facb10ee4.zip
Add whence to owner subscribe|unsubscribe notifications.
Diffstat (limited to 'Mailman')
-rwxr-xr-xMailman/MailList.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index fdc3802a..1755ae64 100755
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -1069,6 +1069,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
"adminsubscribeack.txt",
{"listname" : realname,
"member" : formataddr((name, email)),
+ "whence" : "" if whence == None else " (" + whence + ")"
}, mlist=self)
msg = Message.OwnerNotification(self, subject, text)
msg.send(self)
@@ -1105,6 +1106,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
'adminunsubscribeack.txt',
{'member' : name,
'listname': self.real_name,
+ "whence" : "" if whence == None else " (" + whence + ")"
}, mlist=self)
msg = Message.OwnerNotification(self, subject, text)
msg.send(self)