You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/12/22 14:39:34 UTC

[whimsy] branch master updated: Move secretary@ to Bcc

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 3fc7e07  Move secretary@ to Bcc
3fc7e07 is described below

commit 3fc7e075e6b39edbadbfb3ca9e11dfe26d8af5a9
Author: Sebb <se...@apache.org>
AuthorDate: Sun Dec 22 14:39:18 2019 +0000

    Move secretary@ to Bcc
---
 www/board/agenda/views/actions/feedback.json.rb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/views/actions/feedback.json.rb b/www/board/agenda/views/actions/feedback.json.rb
index 7c15cac..6e84c96 100644
--- a/www/board/agenda/views/actions/feedback.json.rb
+++ b/www/board/agenda/views/actions/feedback.json.rb
@@ -62,7 +62,9 @@ Agenda.parse(@agenda, :full).each do |item|
   }.gsub(/^ {4}/, '').strip
 
   # build cc list
-  cc = ['secretary@apache.org']
+  cc = []
+  # we don't want replies to come to secretary@
+  bcc = ['secretary@apache.org']
   
   if item['mail_list']
     if item[:attach] =~ /^[A-Z]+/
@@ -79,6 +81,7 @@ Agenda.parse(@agenda, :full).each do |item|
     from from
     to "#{item['owner']} <#{item['chair_email']}>".untaint
     cc cc
+    bcc bcc
     reply_to ['board@apache.org'] + cc
     subject "Board feedback on #{date} #{item['title']} report"