Reworked "getIdForURL"
This commit is contained in:
		
					parent
					
						
							
								c89b690156
							
						
					
				
			
			
				commit
				
					
						7b13b7e9c8
					
				
			
		
					 8 changed files with 84 additions and 195 deletions
				
			
		| 
						 | 
				
			
			@ -88,7 +88,7 @@ function match_content(App $a)
 | 
			
		|||
			$profile = $msearch->results[$i];
 | 
			
		||||
 | 
			
		||||
			// Already known contact
 | 
			
		||||
			if (!$profile || Contact::getIdForURL($profile->url, local_user(), false)) {
 | 
			
		||||
			if (!$profile || Contact::getIdForURL($profile->url, local_user())) {
 | 
			
		||||
				continue;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue