Enable link handling

This commit is contained in:
Nicolas Werner 2019-11-03 03:28:16 +01:00
parent 993926e189
commit 88dc72df4f
6 changed files with 41 additions and 18 deletions

View file

@ -827,6 +827,7 @@ TimelineModel::replyAction(QString id)
[](const auto &e) -> std::string { return eventMsgType(e); }, event));
related.quoted_body =
boost::apply_visitor([](const auto &e) -> QString { return eventBody(e); }, event);
related.room = room_id_;
if (related.quoted_body.isEmpty())
return;