Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
zephyr: Close exemption for stream-link warnings.
Steve Howell52281462e29b
diff --git a/static/js/compose.js b/static/js/compose.jsindex f4d492def35..5a3d25b6dd4 100644--- a/static/js/compose.js+++ b/static/js/compose.js@@ -980,11 +980,15 @@ exports.warn_if_private_stream_is_linked = function (linked_stream) {return;}- if (peer_data.is_subscriber_subset(compose_stream.stream_id, linked_stream.stream_id)) {- // Don't warn if subscribers list of current compose_stream is- // a subset of linked_stream's subscribers list, because- // everyone will be subscribed to the linked stream and so- // knows it exists.+ // Don't warn if subscribers list of current compose_stream is+ // a subset of linked_stream's subscribers list, because+ // everyone will be subscribed to the linked stream and so+ // knows it exists. (But always warn Zephyr users, since+ // we may not know their stream's subscribers.)+ if (+ peer_data.is_subscriber_subset(compose_stream.stream_id, linked_stream.stream_id) &&+ !page_params.realm_is_zephyr_mirror_realm+ ) {return;}