summaryrefslogtreecommitdiff
path: root/src/mailman/app/subscriptions.py
diff options
context:
space:
mode:
authorMark Sapiro2016-12-30 11:36:54 -0800
committerMark Sapiro2016-12-30 11:36:54 -0800
commiteba4d0767aa141dc631e433ac01a86302da233b5 (patch)
tree6ac31b88c9535946391abb09177503649c7793de /src/mailman/app/subscriptions.py
parent2ead4c9f0f70ac3ebd06105562579f74fa6963f1 (diff)
parent615415cb45a8a7d8b26c744940b2e57ca72c1249 (diff)
downloadmailman-eba4d0767aa141dc631e433ac01a86302da233b5.tar.gz
mailman-eba4d0767aa141dc631e433ac01a86302da233b5.tar.zst
mailman-eba4d0767aa141dc631e433ac01a86302da233b5.zip
Merge gitlab.com:mailman/mailman into dmarc
Diffstat (limited to 'src/mailman/app/subscriptions.py')
-rw-r--r--src/mailman/app/subscriptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/app/subscriptions.py b/src/mailman/app/subscriptions.py
index a38b3061d..7d02a4e6c 100644
--- a/src/mailman/app/subscriptions.py
+++ b/src/mailman/app/subscriptions.py
@@ -287,7 +287,7 @@ class SubscriptionWorkflow(_SubscriptionWorkflowCommon):
msg = UserNotification(
self.mlist.owner_address, self.mlist.owner_address,
subject, text, self.mlist.preferred_language)
- msg.send(self.mlist, to_moderators=True)
+ msg.send(self.mlist)
# The workflow must stop running here.
raise StopIteration
@@ -435,7 +435,7 @@ class UnSubscriptionWorkflow(_SubscriptionWorkflowCommon):
msg = UserNotification(
self.mlist.owner_address, self.mlist.owner_address,
subject, text, self.mlist.preferred_language)
- msg.send(self.mlist, to_moderators=True)
+ msg.send(self.mlist)
# The workflow must stop running here
raise StopIteration