Browse Source
			
			
			Move messages before conversation hits
			
				Signed-off-by: Joas Schilling <coding@schilljs.com>
			
			
				pull/4017/head
			
			
		 
		
			
				
					
						 Joas Schilling
					
					5 years ago
						Joas Schilling
					
					5 years ago
					
				 
				
			 
		 
		
			
				
				  
				  No known key found for this signature in database
				  
				  	
						GPG Key ID: 7076EA9751AACDDA
				  	
				  
				
			
		
		
		
	
		
			
				 1 changed files with 
1 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					lib/Search/MessageSearch.php
				
					
					
						
							
								
									
										
											
	
		
			
				
					|  |  | @ -83,7 +83,7 @@ class MessageSearch implements IProvider { | 
			
		
	
		
			
				
					|  |  |  | 	public function getOrder(string $route, array $routeParameters): int { | 
			
		
	
		
			
				
					|  |  |  | 		if (strpos($route, Application::APP_ID . '.') === 0) { | 
			
		
	
		
			
				
					|  |  |  | 			// Active app, prefer Talk results
 | 
			
		
	
		
			
				
					|  |  |  | 			return -1; | 
			
		
	
		
			
				
					|  |  |  | 			return -2; | 
			
		
	
		
			
				
					|  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 		return 15; | 
			
		
	
	
		
			
				
					|  |  | 
 |