diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-12-06 02:56:53 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-12-06 02:57:08 +0100 |
commit | 362efbf5b9ca4d3162d4fc7035959ce1da9f1c94 (patch) | |
tree | e9c8beb242823b808e5f5b8d197cc399753e69ce /src | |
parent | Merge pull request #100 from Nheko-Reborn/file-encryption (diff) | |
download | nheko-362efbf5b9ca4d3162d4fc7035959ce1da9f1c94.tar.xz |
Restore linkification of messages
Diffstat (limited to 'src')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 2c58e2f5..e3d87ae6 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -505,8 +505,8 @@ TimelineModel::data(const QModelIndex &index, int role) const case FormattedBody: return QVariant( utils::replaceEmoji( - boost::apply_visitor( - [](const auto &e) -> QString { return eventFormattedBody(e); }, event)) + utils::linkifyMessage(boost::apply_visitor( + [](const auto &e) -> QString { return eventFormattedBody(e); }, event))) .remove("<mx-reply>") .remove("</mx-reply>")); case Url: |