mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Restore linkification of messages
This commit is contained in:
parent
9d9b214e4c
commit
362efbf5b9
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue