summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/ToDigest.py
diff options
context:
space:
mode:
authorbwarsaw2001-12-19 07:03:22 +0000
committerbwarsaw2001-12-19 07:03:22 +0000
commitbf3ca3f221946a4581f96afb5bbfbce2c272a896 (patch)
tree2dc03dc2a2e30b3ae07da5a8219861241cb40adc /Mailman/Handlers/ToDigest.py
parent747236c2d5e7b54bc2609f8e220ddc76c2af8200 (diff)
downloadmailman-bf3ca3f221946a4581f96afb5bbfbce2c272a896.tar.gz
mailman-bf3ca3f221946a4581f96afb5bbfbce2c272a896.tar.zst
mailman-bf3ca3f221946a4581f96afb5bbfbce2c272a896.zip
Diffstat (limited to 'Mailman/Handlers/ToDigest.py')
-rw-r--r--Mailman/Handlers/ToDigest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Handlers/ToDigest.py b/Mailman/Handlers/ToDigest.py
index 29fd0d134..095d89bce 100644
--- a/Mailman/Handlers/ToDigest.py
+++ b/Mailman/Handlers/ToDigest.py
@@ -41,6 +41,7 @@ from Mailman import mm_cfg
from Mailman import Utils
from Mailman import Message
from Mailman import i18n
+from Mailman.MemberAdaptor import ENABLED
from Mailman.Handlers.Decorate import decorate
from Mailman.Queue.sbcache import get_switchboard
from Mailman.Mailbox import Mailbox
@@ -323,7 +324,7 @@ def send_i18n_digests(mlist, mboxfp):
# user might be None if someone who toggled off digest delivery
# subsequently unsubscribed from the mailing list. Also, filter out
# folks who have disabled delivery.
- if user is None or mlist.getMemberOption(user, mm_cfg.DisableDelivery):
+ if user is None or mlist.getDeliveryStatus(user) <> ENABLED:
continue
# Otherwise, decide whether they get MIME or RFC 1153 digests
if mlist.getMemberOption(user, mm_cfg.DisableMime):