Fix reply relating to the wrong id of edited event

pull/505/head
Nicolas Werner 4 years ago
parent d6f80e9275
commit 67ab204050
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      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

Loading…
Cancel
Save