Fix room name allowing html again (after a recent optimization)
This commit is contained in:
parent
b37909a2c8
commit
410c4efdf8
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ RoomsModel::data(const QModelIndex &index, int role) const
|
|||
return QString::fromStdString(rooms[index.row()].alias).toHtmlEscaped();
|
||||
case CompletionModel::SearchRole2:
|
||||
case Roles::RoomName:
|
||||
return QString::fromStdString(rooms[index.row()].name);
|
||||
return QString::fromStdString(rooms[index.row()].name).toHtmlEscaped();
|
||||
case Roles::AvatarUrl:
|
||||
return QString::fromStdString(
|
||||
cache::client()->singleRoomInfo(rooms[index.row()].id).avatar_url);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue