| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -101,6 +101,7 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        sendFunc(this.get('id'), body, attachments, now).then(function() {
 | 
					 | 
					 | 
					 | 
					        sendFunc(this.get('id'), body, attachments, now).then(function() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            message.save({'sent': true});
 | 
					 | 
					 | 
					 | 
					            message.save({'sent': true});
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }.bind(this)).catch(function(errors) {
 | 
					 | 
					 | 
					 | 
					        }.bind(this)).catch(function(errors) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            console.log(errors);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (errors instanceof Error) {
 | 
					 | 
					 | 
					 | 
					            if (errors instanceof Error) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                errors = [errors];
 | 
					 | 
					 | 
					 | 
					                errors = [errors];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |