summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mailman/app/subscriptions.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mailman/app/subscriptions.py b/src/mailman/app/subscriptions.py
index 375fe159d..fc07a754e 100644
--- a/src/mailman/app/subscriptions.py
+++ b/src/mailman/app/subscriptions.py
@@ -194,6 +194,13 @@ class SubscriptionWorkflow(Workflow):
else:
self._next.append("send_confirmation")
+ def _step_send_confirmation(self):
+ self._next.append("moderation_check")
+ self.save_state()
+ self._next.clear() # stop iteration until we get confirmation
+ # XXX: create the Pendable, send the ConfirmationNeededEvent
+ # (see Registrar.register)
+
def _step_moderation_check(self):
# Does the moderator need to approve the subscription request?
if self.mlist.subscription_policy in (