Fix stray 'a' in @room escaping

pull/581/head
Nicolas Werner 4 years ago
parent 0bf611beb2
commit d52c2515bc
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      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();
}

Loading…
Cancel
Save