|
@ -113,9 +113,13 @@ class Sessions extends RedisModel {
|
|
|
}
|
|
|
|
|
|
function callBusinessType(sessionId) {
|
|
|
ParticipantRepo.getBusinessType(participantIdArray.join("','"), function (err, businessType) {
|
|
|
callCreate(sessionId, businessType);
|
|
|
});
|
|
|
if(participantIdArray.length==0&&type == SESSION_TYPES.MUC){
|
|
|
callCreate(sessionId, 2);
|
|
|
}else{
|
|
|
ParticipantRepo.getBusinessType(participantIdArray.join("','"), function (err, businessType) {
|
|
|
callCreate(sessionId, businessType);
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
function callCreate(sessionId, businessType) {
|