mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
add matrix link for completed item
This commit is contained in:
parent
19dbbb2c6c
commit
8aadde7885
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ RoomsModel::data(const QModelIndex &index, int role) const
|
|||
if (hasIndex(index.row(), index.column(), index.parent())) {
|
||||
switch (role) {
|
||||
case CompletionModel::CompletionRole:
|
||||
return QString("%1").arg(roomAliases[index.row()]);
|
||||
return QString("[%1](https://matrix.to/%1)").arg(roomAliases[index.row()]);
|
||||
case CompletionModel::SearchRole:
|
||||
case Qt::DisplayRole:
|
||||
case Roles::RoomAlias:
|
||||
|
|
Loading…
Reference in a new issue