mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	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:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user