summary refs log tree commit diff
path: root/src/notifications/ManagerLinux.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-02-26 15:38:46 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-17 19:18:06 +0100
commit8b33b1f08b941fe6ab5cf2431695284e21088223 (patch)
treeddb926daaaeb7549618ec40613d7c796041595cf /src/notifications/ManagerLinux.cpp
parentSimplify formatting on Windows (diff)
downloadnheko-8b33b1f08b941fe6ab5cf2431695284e21088223.tar.xz
Simplify regex
Diffstat (limited to 'src/notifications/ManagerLinux.cpp')
-rw-r--r--src/notifications/ManagerLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp

index 56fc8221..cd9d6fb8 100644 --- a/src/notifications/ManagerLinux.cpp +++ b/src/notifications/ManagerLinux.cpp
@@ -234,7 +234,7 @@ NotificationsManager::formatNotification(const mtx::responses::Notification &not return QTextDocumentFragment::fromHtml( mtx::accessors::formattedBodyWithFallback(notification.event) - .replace(QRegularExpression("(<mx-reply>.+\\<\\/mx-reply\\>)"), "")) + .replace(QRegularExpression("<mx-reply>.+</mx-reply>"), "")) .toPlainText() .prepend(messageLeadIn); }