Browse Source
			
			
			Merge pull request #673 from Jellyfrog/patch-2
			
				Remove unneeded WS logging
			
			
				pull/679/head
			
			
		 
		
			
				
					
						
						Daniel García
					
					6 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
0 additions and 
2 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/api/notifications.rs
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -157,8 +157,6 @@ impl Handler for WSHandler { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    fn on_message(&mut self, msg: Message) -> ws::Result<()> { | 
					 | 
					 | 
					    fn on_message(&mut self, msg: Message) -> ws::Result<()> { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        info!("Server got message '{}'. ", msg); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if let Message::Text(text) = msg.clone() { | 
					 | 
					 | 
					        if let Message::Text(text) = msg.clone() { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            let json = &text[..text.len() - 1]; // Remove last char
 | 
					 | 
					 | 
					            let json = &text[..text.len() - 1]; // Remove last char
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |