fixup! Allow editing unsent messages

This commit is contained in:
Alexander Bantyev 2021-06-18 20:25:44 +03:00
parent 9f798e76ed
commit f8d2564e46
No known key found for this signature in database
GPG key ID: E081FF12ADCB4AD5
2 changed files with 21 additions and 7 deletions

View file

@ -383,6 +383,9 @@ TimelineModel::TimelineModel(TimelineViewManager *manager, QString room_id, QObj
edit_ = QString::fromStdString(event_id);
emit editChanged(edit_);
}
if (reply_.toStdString() == txn_id) {
reply_ = QString::fromStdString(event_id);
}
});
showEventTimer.callOnTimeout(this, &TimelineModel::scrollTimerEvent);