summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-12-06 02:56:53 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2019-12-06 02:57:08 +0100
commit362efbf5b9ca4d3162d4fc7035959ce1da9f1c94 (patch)
treee9c8beb242823b808e5f5b8d197cc399753e69ce
parentMerge pull request #100 from Nheko-Reborn/file-encryption (diff)
downloadnheko-362efbf5b9ca4d3162d4fc7035959ce1da9f1c94.tar.xz
Restore linkification of messages
-rw-r--r--src/timeline/TimelineModel.cpp4
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: