diff --git a/templates/zephyr/index.html b/templates/zephyr/index.html
index aab4cd3f06..d1cb19f0c9 100644
--- a/templates/zephyr/index.html
+++ b/templates/zephyr/index.html
@@ -120,10 +120,10 @@ var people_list = [
{# Special-case this link so we don't actually go to page top. #}
Home
-
+
-
+
diff --git a/zephyr/static/js/subs.js b/zephyr/static/js/subs.js
index 2219322bfa..94f4ab10f7 100644
--- a/zephyr/static/js/subs.js
+++ b/zephyr/static/js/subs.js
@@ -97,6 +97,7 @@ function create_sub(stream_name, attrs) {
subscribed: true, in_home_view: true, invite_only: false}, attrs);
stream_info[stream_name.toLowerCase()] = sub;
if (sub.subscribed) {
+ // This will do nothing on MIT
ui.add_narrow_filter(stream_name, "stream", "#narrow/stream/" + encodeURIComponent(stream_name));
}
return sub;
@@ -140,6 +141,7 @@ function mark_subscribed(stream_name, attrs) {
add_sub_to_table(sub);
} else if (! sub.subscribed) {
sub.subscribed = true;
+ // This will do nothing on MIT
ui.add_narrow_filter(stream_name, "stream", "#narrow/stream/" + encodeURIComponent(stream_name));
var button = button_for_sub(sub);
if (button.length !== 0) {
diff --git a/zephyr/static/js/ui.js b/zephyr/static/js/ui.js
index 14030f8bc7..b2992eabc7 100644
--- a/zephyr/static/js/ui.js
+++ b/zephyr/static/js/ui.js
@@ -259,6 +259,12 @@ function resizehandler(e) {
$(function () {
// When the user's profile picture loads this can change the height of the sidebar
$("img.gravatar-profile").bind('load', resizehandler);
+
+ // We don't have a stream list at MIT.
+ if (domain === "mit.edu") {
+ $("#stream_filters").remove();
+ $("#stream_filters_sep").remove();
+ }
});
var old_label;
@@ -873,6 +879,18 @@ function sort_narrow_list() {
exports.add_narrow_filter = function(name, type, uri) {
var list_item;
+ /*
+ * We don't give MIT a stream list currently since that would likely be
+ * overwhelming for users given the vast number of streams MIT users are
+ * commonly subscribed to.
+ *
+ * This will not be as much of an issue once we do prioritization of streams
+ * in the list.
+ */
+ if (domain === "mit.edu" && type === "stream") {
+ return false;
+ }
+
if ($("#" + type + "_filters li[data-name='" + encodeURIComponent(name) + "']").length) {
// already exists
return false;