Make nickname matching case-sensitive (#3035)
Perform case-sensitive matching for highlighting the own nickname in MUC messages and while checking whether to notify.
This commit is contained in:
		
							parent
							
								
									3837826b67
								
							
						
					
					
						commit
						e948d12085
					
				|  | @ -710,7 +710,7 @@ public class NotificationService { | |||
| 	} | ||||
| 
 | ||||
| 	public static Pattern generateNickHighlightPattern(final String nick) { | ||||
| 		return Pattern.compile("(?<=(^|\\s))" + Pattern.quote(nick) + "\\b", Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE); | ||||
| 		return Pattern.compile("(?<=(^|\\s))" + Pattern.quote(nick) + "\\b"); | ||||
| 	} | ||||
| 
 | ||||
| 	public void setOpenConversation(final Conversation conversation) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Holger Weiß
						Holger Weiß