From 362efbf5b9ca4d3162d4fc7035959ce1da9f1c94 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Fri, 6 Dec 2019 02:56:53 +0100
Subject: [PATCH] Restore linkification of messages

---
 src/timeline/TimelineModel.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp
index 2c58e2f58..e3d87ae6a 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:
-- 
GitLab