Mark Sapiro pushed to branch master at GNU Mailman / Mailman Core


Commits:
700bd862 by Mark Sapiro at 2021-06-27T10:12:19-07:00
Expand replacements in the list:user:notice:goodbye template.

- - - - -


2 changed files:

- src/mailman/app/notifications.py
- src/mailman/docs/NEWS.rst


Changes:

=====================================
src/mailman/app/notifications.py
=====================================
@@ -115,8 +115,8 @@ def send_goodbye_message(mlist, address, language):
     :param language: the language of the response
     :type language: ILanguage
     """
-    goodbye_message = wrap(getUtility(ITemplateLoader).get(
-        'list:user:notice:goodbye', mlist, language=language.code))
+    goodbye_message = wrap(expand(getUtility(ITemplateLoader).get(
+        'list:user:notice:goodbye', mlist, language=language.code)))
     msg = UserNotification(
         address, mlist.bounces_address,
         _('You have been unsubscribed from the $mlist.display_name '


=====================================
src/mailman/docs/NEWS.rst
=====================================
@@ -81,6 +81,8 @@ Bugs
   removals.  (Closes #909)
 * Only remove or send warnings to list members when processing bounces.
   (Closes #910)
+* Replacements are now expanded in the ``list:user:notice:goodbye`` template.
+  (Closes #922)
 
 Command line
 ------------



View it on GitLab: 
https://gitlab.com/mailman/mailman/-/commit/700bd86255b9310aba526b322fce3de990882662

-- 
View it on GitLab: 
https://gitlab.com/mailman/mailman/-/commit/700bd86255b9310aba526b322fce3de990882662
You're receiving this email because of your account on gitlab.com.


_______________________________________________
Mailman-checkins mailing list -- mailman-checkins@python.org
To unsubscribe send an email to mailman-checkins-le...@python.org
https://mail.python.org/mailman3/lists/mailman-checkins.python.org/
Member address: arch...@jab.org

Reply via email to