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(
|
EmailRecord.objects.create(
|
||||||
sender=comment.author.user,
|
sender=comment.author.user,
|
||||||
recipient=attendee.user.user,
|
recipient=attendee.user,
|
||||||
email=attendee.user.user.email,
|
email=attendee.user.email,
|
||||||
subject=email_subject,
|
subject=email_subject,
|
||||||
body=email_body_text,
|
body=email_body_text,
|
||||||
ok=success
|
ok=success
|
||||||
|
|
Loading…
Reference in a new issue