diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-05-11 15:10:28 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-05-11 15:10:28 +0200 |
commit | d52c2515bcdc6e71ef883e1b28a2242a3ccb6636 (patch) | |
tree | 1a101036ccd816da008aa142f41d5001f15c9e14 /src/Utils.cpp | |
parent | Update translations (diff) | |
download | nheko-d52c2515bcdc6e71ef883e1b28a2242a3ccb6636.tar.xz |
Fix stray 'a' in @room escaping
Diffstat (limited to '')
-rw-r--r-- | src/Utils.cpp | 2 |
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(); } |