diff options
| author | Barry Warsaw | 2015-06-19 21:59:29 +0000 |
|---|---|---|
| committer | Barry Warsaw | 2015-06-19 21:59:29 +0000 |
| commit | fd29c455148ddfdabdbbf1bd8cd7b4d3927b3ddf (patch) | |
| tree | 04e76d4b5664c1bf635c4472597e5a2604971501 /src | |
| parent | e9921ece080fccac249bebfeee1348b450202975 (diff) | |
| parent | a5723a217401d0e5a24758683120923d6c62e878 (diff) | |
| download | mailman-fd29c455148ddfdabdbbf1bd8cd7b4d3927b3ddf.tar.gz mailman-fd29c455148ddfdabdbbf1bd8cd7b4d3927b3ddf.tar.zst mailman-fd29c455148ddfdabdbbf1bd8cd7b4d3927b3ddf.zip | |
Merge branch 'disable-topics' into 'master'
Disable the member topics feature for now
The topics feature is currently non-functional (it calls non-existant methods on the MailingList object), and a proper fix would require a schema change.
This merge request just disables the feature, since mailing-lists imported from 2.1 with topics enabled just cause tracebacks currently.
I think it's better to disable it this way rather than forcing the import to unset the `topics_enabled` flag, to remember which lists wanted the topics feature.
See merge request !19
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/handlers/member_recipients.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/handlers/member_recipients.py b/src/mailman/handlers/member_recipients.py index 60a64bb8d..22be30d7d 100644 --- a/src/mailman/handlers/member_recipients.py +++ b/src/mailman/handlers/member_recipients.py @@ -91,7 +91,8 @@ for delivery. The original message as received by Mailman is attached. if not include_sender and member.address.email in recipients: recipients.remove(member.address.email) # Handle topic classifications - do_topic_filters(mlist, msg, msgdata, recipients) + # XXX: Disabled for now until we fix it properly + #do_topic_filters(mlist, msg, msgdata, recipients) # Bookkeeping msgdata['recipients'] = recipients |
