commit 6ed4071c201aabf091b0055010a116f46be57d60
parent 3c9c3e4561e0997c2c74b53dfdbb2dc57df2c8a3
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Tue, 12 Jun 2007 20:55:22 +0000
bugfix: alternate emails are not used in from line
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@449 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/account.rb b/lib/sup/account.rb
@@ -33,7 +33,7 @@ class AccountManager
([hash[:email]] + (hash[:alternates] || [])).each do |email|
next if @email_map.member? email
- a = Account.new email, hash
+ a = Account.new main_email, hash
PersonManager.register a
@accounts[a] = true
@email_map[email] = a