mirror of https://github.com/zulip/zulip.git
Say if a realm is open in the internal signups Humbug.
(imported from commit 5745f3b2fbfbbdc2681628ef1ccb637cc1abb9f3)
This commit is contained in:
parent
79d494282d
commit
a63b0e31a7
|
@ -704,8 +704,11 @@ def do_create_realm(domain, restricted_to_domain=True):
|
|||
"domain": domain,
|
||||
"restricted_to_domain": restricted_to_domain})
|
||||
|
||||
signup_message = "Signups enabled"
|
||||
if not restricted_to_domain:
|
||||
signup_message += " (open realm)"
|
||||
internal_send_message("humbug+signups@humbughq.com", "stream",
|
||||
"signups", domain, "Signups enabled.")
|
||||
"signups", domain, signup_message)
|
||||
return (realm, created)
|
||||
|
||||
def do_change_enable_desktop_notifications(user_profile, enable_desktop_notifications, log=True):
|
||||
|
|
Loading…
Reference in New Issue