mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-27 07:24:13 +01:00
Do not check in fallback quotes for nickname
(cherry picked from commit fc10a1b0f484987bc95373e2d2a9cac89af2c6f6)
This commit is contained in:
parent
4ae8f66f16
commit
dc02a70360
1 changed files with 2 additions and 2 deletions
|
@ -1889,8 +1889,8 @@ public class NotificationService {
|
|||
if (message.getBody() == null || (nick == null && name == null)) {
|
||||
return false;
|
||||
}
|
||||
final Matcher m = highlight.matcher(message.getBody());
|
||||
final Matcher m2 = highlightName.matcher(message.getBody());
|
||||
final Matcher m = highlight.matcher(message.getBody(true));
|
||||
final Matcher m2 = highlightName.matcher(message.getBody(true));
|
||||
return (m.find() || m2.find() || message.isPrivateMessage());
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue