whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: don't copy private@incubator twice
Date Sat, 10 Jun 2017 03:47:54 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys 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 0949982  don't copy private@incubator twice
0949982 is described below

commit 0949982290281684af7dde26ba697667a151e989
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Fri Jun 9 23:47:40 2017 -0400

    don't copy private@incubator twice
---
 www/roster/views/actions/ppmc.json.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/roster/views/actions/ppmc.json.rb b/www/roster/views/actions/ppmc.json.rb
index 69f79e8..8f23095 100644
--- a/www/roster/views/actions/ppmc.json.rb
+++ b/www/roster/views/actions/ppmc.json.rb
@@ -104,7 +104,9 @@ if env.password
   mail = Mail.new do
     from "#{from.public_name} <#{from.id}@apache.org>".untaint
     to ppmc.private_mail_list.untaint
-    cc 'private@incubator.apache.org'
+    if ppmc.private_mail_list != 'private@incubator.apache.org'
+      cc 'private@incubator.apache.org'
+    end
     bcc 'root@apache.org'
     subject "#{who} #{action} #{ppmc.display_name} #{target}"
     body "Current roster can be found at:\n\n" +

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message