Fix reply relating to the wrong id of edited event
This commit is contained in:
parent
d6f80e9275
commit
67ab204050
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user