summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/timeline/TimelineModel.cpp2
1 files changed, 1 insertions, 1 deletions
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