From 8aadde7885031f34c309daefe203eeb94baa6983 Mon Sep 17 00:00:00 2001 From: Jedi18 Date: Wed, 17 Feb 2021 19:26:19 +0530 Subject: [PATCH] add matrix link for completed item --- src/RoomsModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: