Say if a realm is open in the internal signups Humbug.

(imported from commit 5745f3b2fbfbbdc2681628ef1ccb637cc1abb9f3)
This commit is contained in:
Jessica McKellar 2013-05-31 14:26:43 -04:00
parent 79d494282d
commit a63b0e31a7
1 changed files with 4 additions and 1 deletions

View File

@ -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):