refactor: Cleanup the existence of fraction_present.

Replacing the group PMs icon with "fa fa-group" icon
drops the color class "fraction_present" logic. As there
is no more use of fraction_present class this commit
cleanups its all existence from the codebase.
This commit is contained in:
Nikhil Maske
2021-04-30 22:57:06 +05:30
committed by Tim Abbott
parent b7fb130578
commit 88856f58c5
2 changed files with 0 additions and 6 deletions

View File

@@ -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);