From d80b7cc9e689660fd7c43f6b5d5fb979b7bb1ebb Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 16 Oct 2024 14:58:19 -0500 Subject: [PATCH] Do not check in fallback quotes for nickname (cherry picked from commit fc10a1b0f484987bc95373e2d2a9cac89af2c6f6) --- .../eu/siacs/conversations/services/NotificationService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index 054a9ee12..be6e0841b 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -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;