diff options
| author | bwarsaw | 2000-05-08 22:25:33 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-05-08 22:25:33 +0000 |
| commit | e12f19aed4bf846103ea47be08158fe36d207643 (patch) | |
| tree | 0d1250533065cb67a84a7afe8fa3d3a618ad2b20 /Mailman/Handlers/HandlerAPI.py | |
| parent | 845c2dbc3267358e384cd04f2e1077d4ef00caed (diff) | |
| download | mailman-e12f19aed4bf846103ea47be08158fe36d207643.tar.gz mailman-e12f19aed4bf846103ea47be08158fe36d207643.tar.zst mailman-e12f19aed4bf846103ea47be08158fe36d207643.zip | |
Diffstat (limited to 'Mailman/Handlers/HandlerAPI.py')
| -rw-r--r-- | Mailman/Handlers/HandlerAPI.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/Handlers/HandlerAPI.py b/Mailman/Handlers/HandlerAPI.py index aba0e1a09..95ccd781a 100644 --- a/Mailman/Handlers/HandlerAPI.py +++ b/Mailman/Handlers/HandlerAPI.py @@ -138,7 +138,7 @@ def RedeliverMessage(mlist, msg): # for messages crafted internally by the Mailman system. The msg object # should have already calculated and set msg.recips. TBD: can the mlist be # None? -def DeliverToUser(mlist, msg): +def DeliverToUser(mlist, msg, newdata={}): pipeline = ['Replybot', 'CookHeaders', mm_cfg.DELIVERY_MODULE, @@ -147,4 +147,8 @@ def DeliverToUser(mlist, msg): 'fasttrack': 1, 'recips' : msg.recips, } + recips = getattr(msg, 'recips', None) + if recips is not None: + msgdata['recips'] = recips + msgdata.update(newdata) return DeliverToList(mlist, msg, msgdata) |
