mirror of https://github.com/zulip/zulip.git
Enable the left sidebar for the MIT realm.
(imported from commit d69eba7fd7a95dd88892706c3d36485c71831864)
This commit is contained in:
parent
203fc55a7c
commit
57c5ea365a
|
@ -256,12 +256,6 @@ 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 (page_params.domain === "mit.edu") {
|
||||
$("#stream_filters").remove();
|
||||
$("#stream_filters_sep").remove();
|
||||
}
|
||||
});
|
||||
|
||||
var is_floating_recipient_bar_showing = false;
|
||||
|
@ -1214,18 +1208,6 @@ exports.get_subject_filter_li = function(stream, subject) {
|
|||
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 (page_params.domain === "mit.edu" && type === "stream") {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (exports.get_filter_li(type, name).length) {
|
||||
// already exists
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue