mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
Do not show self in presence list for MIT
(imported from commit adbbe0dd9728d4c88fa6865f3d5ae54e715868cc)
This commit is contained in:
committed by
Keegan McAllister
parent
3bc083ab0d
commit
75fc80be60
@@ -966,7 +966,9 @@ exports.set_presence_list = function(users, presence_info) {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (domain !== "mit.edu") {
|
||||||
$('#user_presences').append(create_user(fullname, email).addClass('active-icon'));
|
$('#user_presences').append(create_user(fullname, email).addClass('active-icon'));
|
||||||
|
}
|
||||||
|
|
||||||
$.each(users, function(idx, email) {
|
$.each(users, function(idx, email) {
|
||||||
if (people_dict[email] === undefined) {
|
if (people_dict[email] === undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user