diff options
| author | bwarsaw | 2001-12-27 06:54:24 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-12-27 06:54:24 +0000 |
| commit | 4009daaef9d84ccdd50de2eb1d03c31cae1c8b73 (patch) | |
| tree | 63cb6d6cd392f683bf81b37bc8c6a093cca9ed9e | |
| parent | b4a695842a60f63b489f23cbfae30840f18a8fbf (diff) | |
| download | mailman-4009daaef9d84ccdd50de2eb1d03c31cae1c8b73.tar.gz mailman-4009daaef9d84ccdd50de2eb1d03c31cae1c8b73.tar.zst mailman-4009daaef9d84ccdd50de2eb1d03c31cae1c8b73.zip | |
ProcessConfirmation(): Add handling of Pending.RE_ENABLE to the big
confirmation processing switch. This sure does call out for an
object-oriented approach. ;)
| -rw-r--r-- | Mailman/MailList.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index ccadbefdc..494095f68 100644 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -62,6 +62,7 @@ from Mailman.TopicMgr import TopicMgr from Mailman import Gui # other useful classes +from Mailman import MemberAdaptor from Mailman.OldStyleMemberships import OldStyleMemberships from Mailman import Message from Mailman import Pending @@ -972,6 +973,10 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, # via the admindb page. syslog('error', 'Could not process HELD_MESSAGE: %s', id) return (op,) + elif op == Pending.RE_ENABLE: + member = data[1] + self.setDeliveryStatus(member, MemberAdaptor.ENABLED) + return op, member def ConfirmUnsubscription(self, addr, lang=None, remote=None): if lang is None: |
