Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

do_send_confirmation_email: Make invite_expires_in_days optional.

Mateusz Manderaad188130ba17
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index 843b58bcf9c..d2119fb36c2 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -6868,7 +6868,7 @@ def do_send_confirmation_email(
invitee: PreregistrationUser,
referrer: UserProfile,
email_language: str,
- invite_expires_in_days: int,
+ invite_expires_in_days: Optional[int] = None,
) -> str:
"""
Send the confirmation/welcome e-mail to an invited user.