| 
					
				 | 
			
			
				@ -897,7 +897,11 @@ public class ImService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						//推送给IM去创建议题,取得成员消息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						JSONObject messages = imUtil.getCreateTopicMessage(patient, tempPatient.getName(), consult.getTitle(), jsonObject.toJSONString(), consult.getImages(), doctor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						users.put(patient, 0);//+ " "+(tempPatient.getSex()==1?"(男 ":"(女 ") + IdCardUtil.getAgeForIdcard(tempPatient.getIdcard())+")" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						JSONObject obj = imUtil.createTopics(patient + "_" + doctor + "_" + ct.getType(), consult.getId(), tempPatient.getName(), users, messages, imUtil.SESSION_TYPE_MUC); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						String session_type = imUtil.SESSION_TYPE_MUC; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if(17 == ct.getType()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							session_type = imUtil.SESSION_TYPE_MUC_VIDEO;//专家咨询-视频 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						JSONObject obj = imUtil.createTopics(patient + "_" + doctor + "_" + ct.getType(), consult.getId(), tempPatient.getName(), users, messages, session_type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if (obj == null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							throw new RuntimeException("IM消息发送异常!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 |