| 
					
				 | 
			
			
				@ -91,7 +91,7 @@ class ParticipantRepo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @param handler 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    static saveParticipantsToMysql(sessionId, users, handler) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        let sql = "insert into " + DB_TABLES.SessionParticipants + " (session_id,participant_id,participant_role) VALUES " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        let sql = "insert into " + DB_TABLES.Participants + " (session_id,participant_id,participant_role) VALUES " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        let args = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        for (var j in users) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sql += "(?,?,?)"; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -114,7 +114,7 @@ class ParticipantRepo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    static deleteUserFromMysql(sessionId, userId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        let sql = "delete from " + DB_TABLES.SessionParticipants + " where user_id=? and session_id=? "; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        let sql = "delete from " + DB_TABLES.Participants + " where user_id=? and session_id=? "; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        ImDb.execQuery({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            "sql": sql, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            "args": [userId, sessionId], 
			 |