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 ffe670f8 Use name of boardchair
ffe670f8 is described below
commit ffe670f81ce6461087293cc6829d8dd294144b2b
Author: Sebb <[email protected]>
AuthorDate: Sat Jan 6 22:49:02 2024 +0000
Use name of boardchair
---
www/board/agenda/routes.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index 532e99e9..d43ce3eb 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -644,6 +644,7 @@ def auto_remind(date, agenda)
@sendsummary = true
@agenda = agenda
@meeting = date
- @from = '"Board Chair" <[email protected]>'
+ boardchair = ASF::Committee.officers.select{|h| h.name ==
'boardchair'}.first.chairs.first[:name]
+ @from = "\"#{boardchair}\" <[email protected]>"
eval(File.read("views/actions/send-reminders.json.rb"))
end