Commit 025ce3ce952b1c0037cacafcd3b2b2aaf2b51565:
use @apache.org address for chairs
Not currently used by functions other than Whimsy agenda email capability.
Helps chairs with their filtering, and avoids putting direct forwarding
address into the copied list archives.
Branch: refs/heads/master
Author: Brett Porter <[email protected]>
Committer: Brett Porter <[email protected]>
Pusher: rubys <[email protected]>
------------------------------------------------------------
lib/whimsy/asf/agenda/attachments.rb | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------
diff --git a/lib/whimsy/asf/agenda/attachments.rb
b/lib/whimsy/asf/agenda/attachments.rb
index e6aca92..579f874 100644
--- a/lib/whimsy/asf/agenda/attachments.rb
+++ b/lib/whimsy/asf/agenda/attachments.rb
@@ -35,7 +35,7 @@ class ASF::Board::Agenda
unless @quick
begin
committee = ASF::Committee.find(attrs['title'])
- attrs['chair_email'] = committee.chair.mail.first
+ attrs['chair_email'] = "#{committee.chair.id}@apache.org"
attrs['mail_list'] = committee.mail_list
attrs.delete('mail_list') if attrs['mail_list'].include? ' '