Restore linkification of messages

This commit is contained in:
Nicolas Werner 2019-12-06 02:56:53 +01:00
parent 9d9b214e4c
commit 362efbf5b9

View file

@ -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: