Removed double-sanitization of ... is typing names

This commit is contained in:
Emi Simpson 2020-03-24 18:06:19 -04:00
parent 0913887546
commit a9bbea881e
No known key found for this signature in database
GPG key ID: 68FAB2E2E6DFC98B

View file

@ -1443,7 +1443,7 @@ TimelineModel::formatTypingUsers(const std::vector<QString> &users, QColor bg)
QStringList uidWithoutLast; QStringList uidWithoutLast;
auto formatUser = [this, bg](const QString &user_id) -> QString { auto formatUser = [this, bg](const QString &user_id) -> QString {
auto uncoloredUsername = escapeEmoji(displayName(user_id).toHtmlEscaped()); auto uncoloredUsername = escapeEmoji(displayName(user_id));
QString prefix = QString prefix =
QString("<font color=\"%1\">").arg(manager_->userColor(user_id, bg).name()); QString("<font color=\"%1\">").arg(manager_->userColor(user_id, bg).name());