Fix stray 'a' in @room escaping
This commit is contained in:
parent
0bf611beb2
commit
d52c2515bc
@ -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 New Issue
Block a user