link_compare calls
implement compareLink function.
This commit is contained in:
		
					parent
					
						
							
								6fc9c6de3b
							
						
					
				
			
			
				commit
				
					
						5276c28a78
					
				
			
		
					 19 changed files with 32 additions and 30 deletions
				
			
		| 
						 | 
				
			
			@ -463,7 +463,7 @@ function render_messages(array $msg, $t)
 | 
			
		|||
	foreach ($msg as $rr) {
 | 
			
		||||
		if ($rr['unknown']) {
 | 
			
		||||
			$participants = L10n::t("Unknown sender - %s", $rr['from-name']);
 | 
			
		||||
		} elseif (link_compare($rr['from-url'], $myprofile)) {
 | 
			
		||||
		} elseif (Strings::compareLink($rr['from-url'], $myprofile)) {
 | 
			
		||||
			$participants = L10n::t("You and %s", $rr['name']);
 | 
			
		||||
		} else {
 | 
			
		||||
			$participants = L10n::t("%s and You", $rr['from-name']);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue