| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -11,6 +11,8 @@ global.matrixClient = sdk.createClient({
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    userId: config.matrix.userid
 | 
					 | 
					 | 
					 | 
					    userId: config.matrix.userid
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					});
 | 
					 | 
					 | 
					 | 
					});
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					const db = new sqlite3.Database(config.database);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//captures unhandled rejections for easier debugging 
 | 
					 | 
					 | 
					 | 
					//captures unhandled rejections for easier debugging 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					process.on('unhandledRejection', (reason) => {
 | 
					 | 
					 | 
					 | 
					process.on('unhandledRejection', (reason) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    console.log('Reason: ' + reason);
 | 
					 | 
					 | 
					 | 
					    console.log('Reason: ' + reason);
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |