Use hash data ob recipient to use hashes as recipient also.

This commit is contained in:
Martin Edenhofer 2012-05-03 20:47:16 +02:00
parent 4c0578f288
commit 77ef83f9b3

View file

@ -63,7 +63,7 @@ module NotificationFactory
{ {
# :in_reply_to => self.in_reply_to, # :in_reply_to => self.in_reply_to,
:from => sender, :from => sender,
:to => data[:recipient].email, :to => data[:recipient][:email],
:subject => data[:subject], :subject => data[:subject],
:body => data[:body], :body => data[:body],
}, },