|  | @@ -140,8 +140,11 @@ public class IMManager {
 | 
	
		
			
				|  |  |              @Override
 | 
	
		
			
				|  |  |              public List<Conversation> filtered(List<Conversation> data) {
 | 
	
		
			
				|  |  |                  for (Conversation conversation : data) {
 | 
	
		
			
				|  |  | -                    if (conversation.getTargetId().contains("S") || conversation.getTargetId().contains("DAYA") || conversation.getTargetId().contains("I")) {
 | 
	
		
			
				|  |  | -                        data.remove(conversation); //此处以过滤 "XXX" 这个群组会话为例。
 | 
	
		
			
				|  |  | +                    if (conversation.getConversationType() == Conversation.ConversationType.GROUP) {
 | 
	
		
			
				|  |  | +                        //群聊排除课程和fans群之外的,比如网络教室
 | 
	
		
			
				|  |  | +                        if (!conversation.getTargetId().contains("COURSE") && !conversation.getTargetId().contains("FAN")) {
 | 
	
		
			
				|  |  | +                            data.remove(conversation); //此处以过滤 "XXX" 这个群组会话为例。
 | 
	
		
			
				|  |  | +                        }
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  return data;
 |