Fix bug recording emails triggered by event comments

This commit is contained in:
Michael Hall 2018-05-13 21:33:57 -04:00
parent dbbe5ec9e1
commit c2a2bef699

View file

@ -303,8 +303,8 @@ def send_comment_emails(comment):
)
EmailRecord.objects.create(
sender=comment.author.user,
recipient=attendee.user.user,
email=attendee.user.user.email,
recipient=attendee.user,
email=attendee.user.email,
subject=email_subject,
body=email_body_text,
ok=success