diff --git a/frontend_tests/node_tests/pm_list.js b/frontend_tests/node_tests/pm_list.js index 07e8d00046..275f95924d 100644 --- a/frontend_tests/node_tests/pm_list.js +++ b/frontend_tests/node_tests/pm_list.js @@ -95,7 +95,6 @@ test("build_private_messages_list", (override) => { is_active: false, url: "#narrow/pm-with/101,102-group", user_circle_class: "user_circle_fraction", - fraction_present: undefined, is_group: true, }, ]; @@ -136,7 +135,6 @@ test("build_private_messages_list_bot", (override) => { is_active: false, url: "#narrow/pm-with/314-outgoingwebhook", user_circle_class: "user_circle_green", - fraction_present: undefined, is_group: false, }, { @@ -147,7 +145,6 @@ test("build_private_messages_list_bot", (override) => { is_active: false, url: "#narrow/pm-with/101,102-group", user_circle_class: "user_circle_fraction", - fraction_present: undefined, is_group: true, }, ]; diff --git a/static/js/pm_list.js b/static/js/pm_list.js index 914d17d63f..dd8e5a1e60 100644 --- a/static/js/pm_list.js +++ b/static/js/pm_list.js @@ -75,11 +75,9 @@ export function _get_convos() { const is_active = user_ids_string === active_user_ids_string; let user_circle_class; - let fraction_present; if (is_group) { user_circle_class = "user_circle_fraction"; - fraction_present = buddy_data.huddle_fraction_present(user_ids_string); } else { const user_id = Number.parseInt(user_ids_string, 10); user_circle_class = buddy_data.get_user_circle_class(user_id); @@ -98,7 +96,6 @@ export function _get_convos() { is_active, url: hash_util.pm_with_uri(reply_to), user_circle_class, - fraction_present, is_group, }; display_messages.push(display_message);