mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Merge pull request #157 from Alch-Emi/no-escape
Removed double-sanitization of names in "... is typing" messages
This commit is contained in:
commit
e389588bc2
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue