Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
Merge pull request #58 from fedora-infra/feature/flesh-out
Browse files Browse the repository at this point in the history
When constructing fake recipient dict, make sure to populate all needed values.
  • Loading branch information
ralphbean committed Mar 24, 2015
2 parents c412a46 + ba14917 commit be328ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fmn/consumer/backends/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,11 @@ def handle_confirmation(self, session, confirmation):
).strip()
subject = u'Confirm notification email'

recipient = {'email address': confirmation.detail_value}
recipient = {
'user': confirmation.user.openid,
'email address': confirmation.detail_value,
'triggered_by_links': False,
}

self.send_mail(session, recipient, subject, content)

Expand Down

0 comments on commit be328ad

Please sign in to comment.