# HG changeset patch # User Lennard de Rijk # Date 1235817563 0 # Node ID 78c6c14c6b6323b80e8109834574f78940d26a06 # Parent a872030dc3ca234a4e36329509ba28427804ac4a 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 diff -r a872030dc3ca -r 78c6c14c6b63 app/soc/logic/mail_dispatcher.py --- 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)