summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/HandlerAPI.py
diff options
context:
space:
mode:
authorbwarsaw2000-09-18 21:30:32 +0000
committerbwarsaw2000-09-18 21:30:32 +0000
commit3590e2c142da88ca64eea5c7caa1f4e7cd315157 (patch)
treef2a8255fdd9a84c72b8b6577994c7576660c61ca /Mailman/Handlers/HandlerAPI.py
parentd7862441ffcbafa60576f60ab7188af63c819028 (diff)
downloadmailman-3590e2c142da88ca64eea5c7caa1f4e7cd315157.tar.gz
mailman-3590e2c142da88ca64eea5c7caa1f4e7cd315157.tar.zst
mailman-3590e2c142da88ca64eea5c7caa1f4e7cd315157.zip
DeliverToUser(): Since most calls to this function are on internally
created messages, explicitly set the 'noack' flag to true so that by default, Replybot will ignore the message. This will get overridden by the flag set in qrunner (which is the only place that externally generated messages are injected into the system using DeliverToUser()). Closes SF bug #114603.
Diffstat (limited to 'Mailman/Handlers/HandlerAPI.py')
-rw-r--r--Mailman/Handlers/HandlerAPI.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mailman/Handlers/HandlerAPI.py b/Mailman/Handlers/HandlerAPI.py
index b718e5636..ca455a281 100644
--- a/Mailman/Handlers/HandlerAPI.py
+++ b/Mailman/Handlers/HandlerAPI.py
@@ -173,6 +173,7 @@ def DeliverToUser(mlist, msg, newdata={}):
]
msgdata = {'pipeline' : pipeline,
'fasttrack': 1,
+ 'noack' : 1, # default disable Replybot
}
recips = getattr(msg, 'recips', None)
if recips is not None: