Skip to content

Commit

Permalink
Call send_manual_emails() task asynchronously (#3496)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjazz authored Dec 17, 2024
1 parent 79123c0 commit f369337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pontoon/messaging/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def send_message(request):
if recipient.profile.email_communications_enabled
]

send_manual_emails(email_recipients, subject, body, is_transactional)
send_manual_emails.delay(email_recipients, subject, body, is_transactional)

if not send_to_myself:
message = form.save(commit=False)
Expand Down

0 comments on commit f369337

Please sign in to comment.