Fixed sending out email when no-reply is not set.
(Puts a brown paper bag on his head and runs!)
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/logic/mail_dispatcher.py Sat Feb 28 10:25:41 2009 +0000
+++ b/app/soc/logic/mail_dispatcher.py Sat Feb 28 10:39:23 2009 +0000
@@ -148,6 +148,6 @@
return None
# denormalize the account and retrieve the email
- sender = accounts.denormalizeAccount(account_entity).email()
+ sender = accounts.denormalizeAccount(user_entity.account).email()
return (user_entity.name, sender)