- mail :from => from_address(comment.user.display_name, "c", comment.id, comment.digest),
- :to => comment.diary_entry.user.email,
- :subject => I18n.t('notifier.diary_comment_notification.subject', :user => comment.user.display_name)
+ @author = @from_user
+
+ attach_user_avatar(comment.user)
+
+ mail :from => from_address(comment.user.display_name, "c", comment.id, comment.digest, recipient.id),
+ :to => recipient.email,
+ :subject => I18n.t("notifier.diary_comment_notification.subject", :user => comment.user.display_name)