Fix bug recording emails triggered by event comments
This commit is contained in:
parent
dbbe5ec9e1
commit
c2a2bef699
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue