mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 15:09:34 +00:00
Hide right-sidebar user/group PM list from MIT.
(imported from commit 2e3ba1ffd3a33450580a164c0aa1ced23eee37c2)
This commit is contained in:
@@ -200,6 +200,10 @@ function update_users() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
exports.update_huddles = function () {
|
exports.update_huddles = function () {
|
||||||
|
if (page_params.domain === 'mit.edu') {
|
||||||
|
return; // MIT realm doesn't have a presence list
|
||||||
|
}
|
||||||
|
|
||||||
var section = $('#group-pm-list').expectOne();
|
var section = $('#group-pm-list').expectOne();
|
||||||
|
|
||||||
var huddles = exports.get_huddles().slice(0, 10);
|
var huddles = exports.get_huddles().slice(0, 10);
|
||||||
|
|||||||
@@ -1582,6 +1582,12 @@ $(function () {
|
|||||||
.text("Bringing you to your latest messages…"));
|
.text("Bringing you to your latest messages…"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Some MIT-specific customizations
|
||||||
|
if (page_params.domain === 'mit.edu') {
|
||||||
|
$("#user-list").hide();
|
||||||
|
$("#group-pm-list").hide();
|
||||||
|
}
|
||||||
|
|
||||||
// initialize other stuff
|
// initialize other stuff
|
||||||
composebox_typeahead.initialize();
|
composebox_typeahead.initialize();
|
||||||
search.initialize();
|
search.initialize();
|
||||||
|
|||||||
Reference in New Issue
Block a user