From 67ab20405000c4f00cfa0280cdbf8a3342973f9a Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 3 Mar 2021 17:42:36 +0100 Subject: [PATCH] Fix reply relating to the wrong id of edited event --- src/timeline/TimelineModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index d46a313a..3b1bbd6c 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -867,7 +867,7 @@ TimelineModel::relatedInfo(QString id) RelatedInfo related = {}; related.quoted_user = QString::fromStdString(mtx::accessors::sender(*event)); - related.related_event = mtx::accessors::event_id(*event); + related.related_event = id.toStdString(); related.type = mtx::accessors::msg_type(*event); // get body, strip reply fallback, then transform the event to text, if it is a media event