mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +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 () {
|
||||
if (page_params.domain === 'mit.edu') {
|
||||
return; // MIT realm doesn't have a presence list
|
||||
}
|
||||
|
||||
var section = $('#group-pm-list').expectOne();
|
||||
|
||||
var huddles = exports.get_huddles().slice(0, 10);
|
||||
|
||||
@@ -1582,6 +1582,12 @@ $(function () {
|
||||
.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
|
||||
composebox_typeahead.initialize();
|
||||
search.initialize();
|
||||
|
||||
Reference in New Issue
Block a user