mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
send_email: Add support for passing language into send_future_email.
This adds language paramater to send_future_email. As a result, this properly internationalizes invitation reminder emails, by passing correct language into send_future_email. Fixes #11240.
This commit is contained in:
committed by
Tim Abbott
parent
b9f7b08af2
commit
254bf4c08f
@@ -234,6 +234,7 @@ class ConfirmationEmailWorker(QueueProcessingWorker):
|
||||
referrer.realm,
|
||||
to_emails=[invitee.email],
|
||||
from_address=FromAddress.tokenized_no_reply_address(),
|
||||
language=referrer.realm.default_language,
|
||||
context=context,
|
||||
delay=datetime.timedelta(days=2))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user