mirror of https://github.com/zulip/zulip.git
Fix unread counts for Group PMs.
The variable name "name" was completely wrong, and I guess this never generated a traceback or lint error.
This commit is contained in:
parent
a9f6f5f0c0
commit
d5d6d47287
|
@ -62,7 +62,7 @@ function get_user_list_item(user_id) {
|
|||
}
|
||||
|
||||
function get_filter_li(user_ids_string) {
|
||||
if (name.indexOf(",") < 0) {
|
||||
if (user_ids_string.indexOf(",") < 0) {
|
||||
return get_user_list_item(user_ids_string);
|
||||
}
|
||||
return $("li.group-pms-sidebar-entry[data-user-ids='" + user_ids_string + "']");
|
||||
|
|
Loading…
Reference in New Issue