mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Fix stray 'a' in @room escaping
This commit is contained in:
parent
0bf611beb2
commit
d52c2515bc
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue