This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 2037e08 Only applies to private list
2037e08 is described below
commit 2037e08e6c361972a9603076e4290b9787b54452
Author: Sebb <[email protected]>
AuthorDate: Thu Sep 26 02:39:35 2019 +0100
Only applies to private list
---
lib/whimsy/asf/mail.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/mail.rb b/lib/whimsy/asf/mail.rb
index 24d3756..5467701 100644
--- a/lib/whimsy/asf/mail.rb
+++ b/lib/whimsy/asf/mail.rb
@@ -117,7 +117,7 @@ module ASF
end
else
if ldap_pmcs
- cansub = true if ldap_pmcs.include? dom.sub('.apache.org','')
+ cansub = true if list == 'private' and ldap_pmcs.include?
dom.sub('.apache.org','')
end
end
if pmc_chair and CHAIR_LIST.include? lid