-
diff --git a/zephyr/jstemplates/subscription.html b/zephyr/jstemplates/subscription.html
index 4968fba95c..0ca695bdfc 100644
--- a/zephyr/jstemplates/subscription.html
+++ b/zephyr/jstemplates/subscription.html
@@ -20,6 +20,10 @@
+
This is a
+ {{#if invite_only}} invite-only stream. Only people who have been invited can access its content, but any member of the stream can invite others.
+ {{else}} public stream. Anybody in your organization join.{{/if}}
+
Settings
diff --git a/zephyr/static/js/subs.js b/zephyr/static/js/subs.js
index 9a46cea0d5..81285adc32 100644
--- a/zephyr/static/js/subs.js
+++ b/zephyr/static/js/subs.js
@@ -663,7 +663,10 @@ $(function () {
});
// You are always subscribed to streams you create.
principals.push(email);
- ajaxSubscribeForCreation(stream, principals, $('#invite-only').is(':checked'));
+ ajaxSubscribeForCreation(stream,
+ principals,
+ $('#stream_creation_form input[name=privacy]:checked').val() === "invite-only"
+ );
});
$("#subscriptions_table").on("click", ".sub_unsub_button", function (e) {