Restore linkification of messages

remotes/origin/0.7.0-dev
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: case FormattedBody:
return QVariant( return QVariant(
utils::replaceEmoji( utils::replaceEmoji(
boost::apply_visitor( utils::linkifyMessage(boost::apply_visitor(
[](const auto &e) -> QString { return eventFormattedBody(e); }, event)) [](const auto &e) -> QString { return eventFormattedBody(e); }, event)))
.remove("<mx-reply>") .remove("<mx-reply>")
.remove("</mx-reply>")); .remove("</mx-reply>"));
case Url: case Url:

Loading…
Cancel
Save