1 files changed, 0 insertions, 21 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp
index 492d4e0a..6df92d7a 100644
--- a/src/timeline/TimelineModel.cpp
+++ b/src/timeline/TimelineModel.cpp
@@ -696,27 +696,6 @@ TimelineModel::internalAddEvents(
emit dataChanged(index(idx, 0), index(idx, 0));
continue; // don't insert reaction into timeline
}
-
- // auto replyTo = mtx::accessors::in_reply_to_event(e);
- // auto qReplyTo = QString::fromStdString(replyTo);
- // if (!replyTo.empty() && !events.contains(qReplyTo)) {
- // http::client()->get_event(
- // this->room_id_.toStdString(),
- // replyTo,
- // [this, id, replyTo](
- // const mtx::events::collections::TimelineEvents &timeline,
- // mtx::http::RequestErr err) {
- // if (err) {
- // nhlog::net()->error(
- // "Failed to retrieve event with id {}, which was "
- // "requested to show the replyTo for event {}",
- // replyTo,
- // id.toStdString());
- // return;
- // }
- // emit eventFetched(id, timeline);
- // });
- //}
}
}
|