diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-03 17:42:36 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-03 17:42:41 +0100 |
commit | 67ab20405000c4f00cfa0280cdbf8a3342973f9a (patch) | |
tree | e4d666a2626d61ac61da6a234120f121def820f1 /src/timeline/TimelineModel.cpp | |
parent | Merge pull request #504 from Nheko-Reborn/new-lmdbxx (diff) | |
download | nheko-67ab20405000c4f00cfa0280cdbf8a3342973f9a.tar.xz |
Fix reply relating to the wrong id of edited event
Diffstat (limited to '')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 2 |
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 |