summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-02-17 19:26:19 +0530
committerJedi18 <targetakhil@gmail.com>2021-02-17 19:26:19 +0530
commit8aadde7885031f34c309daefe203eeb94baa6983 (patch)
tree9b7256d68d2ff7a59e0fe47c73c2024c785c2888 /src
parentadd rooms model, add room delegate for completer (diff)
downloadnheko-8aadde7885031f34c309daefe203eeb94baa6983.tar.xz
add matrix link for completed item
Diffstat (limited to 'src')
-rw-r--r--src/RoomsModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RoomsModel.cpp b/src/RoomsModel.cpp

index f79c5515..6ace8ef7 100644 --- a/src/RoomsModel.cpp +++ b/src/RoomsModel.cpp
@@ -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: