diff options
| author | Barry Warsaw | 2014-12-15 13:06:58 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2014-12-15 13:06:58 -0500 |
| commit | e94434bf2b3e1cfd34028a7bbc804ec8a8ee3788 (patch) | |
| tree | f2ad4f068538b458616ad8b1f0b9f6d46e781478 /src/mailman/email/message.py | |
| parent | d0c53890bf0c8aa531d45958f0e25fdaccbdb133 (diff) | |
| download | mailman-e94434bf2b3e1cfd34028a7bbc804ec8a8ee3788.tar.gz mailman-e94434bf2b3e1cfd34028a7bbc804ec8a8ee3788.tar.zst mailman-e94434bf2b3e1cfd34028a7bbc804ec8a8ee3788.zip | |
Diffstat (limited to 'src/mailman/email/message.py')
| -rw-r--r-- | src/mailman/email/message.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/email/message.py b/src/mailman/email/message.py index 539d151ad..92f5ff846 100644 --- a/src/mailman/email/message.py +++ b/src/mailman/email/message.py @@ -185,7 +185,7 @@ class UserNotification(Message): :param mlist: The mailing list to send the message to. :type mlist: `IMailingList` - :param add_precedence: Flag indicating whether a `Precedence: bulk` + :param add_precedence: Flag indicating whether a `Precedence: bulk` header should be added to the message or not. :type add_precedence: bool @@ -217,7 +217,7 @@ class UserNotification(Message): reduced_list_headers=True, ) if mlist is not None: - enqueue_kws['listname'] = mlist.fqdn_listname + enqueue_kws['listid'] = mlist.list_id enqueue_kws.update(_kws) virginq.enqueue(self, **enqueue_kws) @@ -246,7 +246,7 @@ class OwnerNotification(UserNotification): virginq = config.switchboards['virgin'] # The message metadata better have a `recip' attribute virginq.enqueue(self, - listname=mlist.fqdn_listname, + listid=mlist.list_id, recipients=self.recipients, nodecorate=True, reduced_list_headers=True, |
