Skip to content
Snippets Groups Projects
Commit 8aadde78 authored by Jedi18's avatar Jedi18
Browse files

add matrix link for completed item

parent 19dbbb2c
No related branches found
No related tags found
No related merge requests found
Pipeline #658 failed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment