From 77ef83f9b398a96a907dff4c06233a0c16e0594e Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 3 May 2012 20:47:16 +0200 Subject: [PATCH] Use hash data ob recipient to use hashes as recipient also. --- lib/notification_factory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/notification_factory.rb b/lib/notification_factory.rb index 58f56089d..8496e4b87 100644 --- a/lib/notification_factory.rb +++ b/lib/notification_factory.rb @@ -63,7 +63,7 @@ module NotificationFactory { # :in_reply_to => self.in_reply_to, :from => sender, - :to => data[:recipient].email, + :to => data[:recipient][:email], :subject => data[:subject], :body => data[:body], },