Fix state reset command
This commit is contained in:
parent
6529240be8
commit
01915360b4
3 changed files with 11 additions and 3 deletions
|
|
@ -496,7 +496,7 @@ TimelineModel::TimelineModel(TimelineViewManager *manager, QString room_id, QObj
|
|||
showEventTimer.callOnTimeout(this, &TimelineModel::scrollTimerEvent);
|
||||
|
||||
connect(this, &TimelineModel::newState, this, [this](mtx::responses::StateEvents events_) {
|
||||
cache::client()->updateState(room_id_.toStdString(), events_);
|
||||
cache::client()->updateState(room_id_.toStdString(), events_, true);
|
||||
this->syncState({std::move(events_.events)});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue