Restore linkification of messages

pull/102/head
Nicolas Werner 5 years ago
parent 9d9b214e4c
commit 362efbf5b9
  1. 4
      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:

Loading…
Cancel
Save