forked from mirror/monocles_chat_clean
Do not check in fallback quotes for nickname
(cherry picked from commit fc10a1b0f484987bc95373e2d2a9cac89af2c6f6)
This commit is contained in:
parent
3bff0bf200
commit
d80b7cc9e6
1 changed files with 2 additions and 2 deletions
|
@ -1889,8 +1889,8 @@ public class NotificationService {
|
||||||
if (message.getBody() == null || (nick == null && name == null)) {
|
if (message.getBody() == null || (nick == null && name == null)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
final Matcher m = highlight.matcher(message.getBody());
|
final Matcher m = highlight.matcher(message.getBody(true));
|
||||||
final Matcher m2 = highlightName.matcher(message.getBody());
|
final Matcher m2 = highlightName.matcher(message.getBody(true));
|
||||||
return (m.find() || m2.find() || message.isPrivateMessage());
|
return (m.find() || m2.find() || message.isPrivateMessage());
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue