Do not check in fallback quotes for nickname

(cherry picked from commit fc10a1b0f484987bc95373e2d2a9cac89af2c6f6)
This commit is contained in:
Stephen Paul Weber 2024-10-16 14:58:19 -05:00 committed by Arne
parent 3bff0bf200
commit d80b7cc9e6

View file

@ -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;