mirror of https://github.com/zulip/zulip.git
Send Zulip notifications when users fill out our interest form.
(imported from commit 2db4b29df8ac2c4cf1929a3df3015809f3faf895)
This commit is contained in:
parent
02d69f18ac
commit
d595714a1c
|
@ -226,6 +226,12 @@ Currently using: %s""" % (name, email, company, count, product,)
|
|||
# register. Send them a registration link.
|
||||
send_registration_completion_email(email, request)
|
||||
return json_error("Your group is already signed up!", status=403)
|
||||
else:
|
||||
internal_send_message(
|
||||
settings.NOTIFICATION_BOT, "stream", "interest", company,
|
||||
"`%s <%s>` at %s is interested in switching from `%s` (%s users)" % (
|
||||
name, email, company, product, count)
|
||||
)
|
||||
|
||||
return json_success()
|
||||
|
||||
|
|
Loading…
Reference in New Issue