mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
queue_processor: Remove email_body from the invite email events.
We removed the use of email_body field in 47fcb27e39, but was
still passed in events from do_resend_user_invite_email and
in tests. So this commit removes the email_body field from
these places.
This commit is contained in:
@@ -6951,7 +6951,6 @@ def do_resend_user_invite_email(prereg_user: PreregistrationUser) -> int:
|
||||
event = {
|
||||
"prereg_id": prereg_user.id,
|
||||
"referrer_id": prereg_user.referred_by.id,
|
||||
"email_body": None,
|
||||
}
|
||||
queue_json_publish("invites", event)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user