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.

stream_data: Fix web_public option defintion being development only.

Tim Abbott9875c9be1b88
diff --git a/static/js/stream_data.js b/static/js/stream_data.js
index 5e08bc5b061..99b20af2691 100644
--- a/static/js/stream_data.js
+++ b/static/js/stream_data.js
@@ -127,18 +127,15 @@ export const stream_privacy_policy_values = {
"Must be invited by a subscriber; new subscribers can only see messages sent after they join; hidden from non-administrator users",
}),
},
-};
-
-if (page_params.development_environment) {
- stream_privacy_policy_values.web_public = {
+ web_public: {
code: "web-public",
name: $t({defaultMessage: "Web public"}),
description: $t({
defaultMessage:
"Organization members can join (guests must be invited by a subscriber); anyone on the Internet can view complete message history without creating an account",
}),
- };
-}
+ },
+};
export const stream_post_policy_values = {
everyone: {