mirror of https://github.com/zulip/zulip.git
buddy_list: Do not fade current user in PMs.
Fixes a bug where we would fade out our own name because it wasn't in selected as a recipient in the compose box, when making a PM.
This commit is contained in:
parent
9f5fca5579
commit
0fa90162f9
|
@ -130,7 +130,7 @@ function update_user_row_when_fading(li, conf) {
|
|||
var email = people.get_person_from_user_id(user_id).email;
|
||||
var would_receive = exports.would_receive_message(email);
|
||||
|
||||
if (would_receive) {
|
||||
if (would_receive || people.is_my_user_id(user_id)) {
|
||||
conf.unfade(li);
|
||||
} else {
|
||||
conf.fade(li);
|
||||
|
|
Loading…
Reference in New Issue