mirror of https://github.com/zulip/zulip.git
missed-message-worker: Send email through email_senders.
We have shifted to a generic queue to send all the emails. This queue can retry in case of network issues; this makes sure that the emails are always sent.
This commit is contained in:
parent
e0f30d02f2
commit
898acc4278
|
@ -366,7 +366,7 @@ def do_send_missedmessage_events_reply_in_zulip(user_profile: UserProfile,
|
|||
'from_address': from_address,
|
||||
'reply_to_email': formataddr((reply_to_name, reply_to_address)),
|
||||
'context': context}
|
||||
queue_json_publish("missedmessage_email_senders", email_dict)
|
||||
queue_json_publish("email_senders", email_dict)
|
||||
|
||||
user_profile.last_reminder = timezone_now()
|
||||
user_profile.save(update_fields=['last_reminder'])
|
||||
|
|
Loading…
Reference in New Issue