summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-05-11 15:10:28 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-05-11 15:10:28 +0200
commitd52c2515bcdc6e71ef883e1b28a2242a3ccb6636 (patch)
tree1a101036ccd816da008aa142f41d5001f15c9e14
parentUpdate translations (diff)
downloadnheko-d52c2515bcdc6e71ef883e1b28a2242a3ccb6636.tar.xz
Fix stray 'a' in @room escaping
-rw-r--r--src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp
index a8e13521..c110aa18 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -70,7 +70,7 @@ utils::stripReplyFromFormattedBody(const std::string &formatted_bodyi)
         QString formatted_body = QString::fromStdString(formatted_bodyi);
         formatted_body.remove(QRegularExpression("<mx-reply>.*</mx-reply>",
                                                  QRegularExpression::DotMatchesEverythingOption));
-        formatted_body.replace("@room", "@\u2060aroom");
+        formatted_body.replace("@room", "@\u2060room");
         return formatted_body.toStdString();
 }