Do not show self in presence list for MIT

(imported from commit adbbe0dd9728d4c88fa6865f3d5ae54e715868cc)
This commit is contained in:
Leo Franchi
2013-02-19 16:37:03 -05:00
committed by Keegan McAllister
parent 3bc083ab0d
commit 75fc80be60

View File

@@ -966,7 +966,9 @@ exports.set_presence_list = function(users, presence_info) {
});
};
$('#user_presences').append(create_user(fullname, email).addClass('active-icon'));
if (domain !== "mit.edu") {
$('#user_presences').append(create_user(fullname, email).addClass('active-icon'));
}
$.each(users, function(idx, email) {
if (people_dict[email] === undefined) {