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 3fa0634  fix TAC email address
3fa0634 is described below

commit 3fa06341e2949dbe57ef769867771f98b39d5051
Author: Sam Ruby <[email protected]>
AuthorDate: Sat May 12 18:24:57 2018 -0400

    fix TAC email address
---
 www/board/agenda/views/buttons/email.js.rb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/views/buttons/email.js.rb 
b/www/board/agenda/views/buttons/email.js.rb
index d5bff4f..6a6bebc 100644
--- a/www/board/agenda/views/buttons/email.js.rb
+++ b/www/board/agenda/views/buttons/email.js.rb
@@ -23,8 +23,11 @@ class Email < Vue
 
   # launch email client, pre-filling the destination, subject, and body
   def launch_email_client()
+    mail_list = @@item.mail_list
+    mail_list = "private@#{mail_list}.apache.org" unless mail_list.include? '@'
+
     destination = "mailto:#{@@item.chair_email}"; +
-      "?cc=private@#{@@item.mail_list}.apache.org,[email protected]"
+      "?cc=#{mail_list}.apache.org,[email protected]"
 
     if @@item.missing
       subject = "Missing #{@@item.title} Board Report"

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to