summaryrefslogtreecommitdiff
path: root/src/mailman/chains/hold.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-02-17 22:23:12 -0500
committerBarry Warsaw2009-02-17 22:23:12 -0500
commit165f53b5d38850589aa75122ab08c73c7ddcb127 (patch)
treed6c48fb84a7a92f3e82628bb45b96fe2b438c028 /src/mailman/chains/hold.py
parent1f4c4e107f24cbb36110e8cb88908b34bac74b01 (diff)
downloadmailman-165f53b5d38850589aa75122ab08c73c7ddcb127.tar.gz
mailman-165f53b5d38850589aa75122ab08c73c7ddcb127.tar.zst
mailman-165f53b5d38850589aa75122ab08c73c7ddcb127.zip
Diffstat (limited to 'src/mailman/chains/hold.py')
-rw-r--r--src/mailman/chains/hold.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/chains/hold.py b/src/mailman/chains/hold.py
index dd5b69db0..8774028bd 100644
--- a/src/mailman/chains/hold.py
+++ b/src/mailman/chains/hold.py
@@ -39,6 +39,7 @@ from mailman.app.replybot import autorespond_to_sender, can_acknowledge
from mailman.chains.base import TerminalChainBase
from mailman.config import config
from mailman.email.message import UserNotification
+from mailman.interfaces.autorespond import Response
from mailman.interfaces.pending import IPendable
@@ -117,7 +118,7 @@ class HoldChain(TerminalChainBase):
if (not msgdata.get('fromusenet') and
can_acknowledge(msg) and
mlist.respond_to_post_requests and
- autorespond_to_sender(mlist, msg.sender, language)):
+ autorespond_to_sender(mlist, msg.sender, Response.hold, language)):
# We can respond to the sender with a message indicating their
# posting was held.
subject = _(