diff options
author | Mark Sapiro <mark@msapiro.net> | 2017-05-24 16:04:00 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2017-05-24 16:04:00 -0700 |
commit | 73fd31d3a6a9083bc7a3e782575ef581a0596af6 (patch) | |
tree | cc5378a7159445a72ae2e8d53b801dd23ed70416 | |
parent | c498829e94cafdc194a45eaf49d4f75785ac0a7a (diff) | |
download | mailman2-73fd31d3a6a9083bc7a3e782575ef581a0596af6.tar.gz mailman2-73fd31d3a6a9083bc7a3e782575ef581a0596af6.tar.xz mailman2-73fd31d3a6a9083bc7a3e782575ef581a0596af6.zip |
Changed member_verbosity_threshold from a >= test to a strictly > test.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Utils.py | 4 | ||||
-rw-r--r-- | NEWS | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py index 739def1d..75481563 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2017 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -1391,7 +1391,7 @@ fact is returned.""" del recentMemberPostings[addr] if not mlist.isMember(email): return False - return (len(recentMemberPostings.get(email, [])) >= + return (len(recentMemberPostings.get(email, [])) > mlist.member_verbosity_threshold ) @@ -44,6 +44,10 @@ Here is a history of user visible changes to Mailman. Bug fixes and other patches + - Changed member_verbosity_threshold from a >= test to a strictly > test + to avoid the issue of moderating every post when the threshold = 1. + (LP: #1693366) + - Subject prefixing has been improved to always have a space between the prefix and the subject even with non-ascii in the prefix. This will sometimes result in two spaces when the prefix is non-ascii but |