From 4c54a401f9070bcb385a44bbaec8c08facb10ee4 Mon Sep 17 00:00:00 2001 From: Jim Popovitch Date: Tue, 12 Jun 2018 02:05:08 +0000 Subject: Add whence to owner subscribe|unsubscribe notifications. --- Mailman/MailList.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Mailman') 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) -- cgit v1.2.3