diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-12-27 16:15:49 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-12-27 16:15:49 +0100 |
commit | 01915360b4edc4e4c82d2f79457859c649b7b1d2 (patch) | |
tree | 9248cbe9a5fe71c180aeccf34a532700c429ebc8 /src/timeline/TimelineModel.cpp | |
parent | Update flat-manager-client (diff) | |
download | nheko-01915360b4edc4e4c82d2f79457859c649b7b1d2.tar.xz |
Fix state reset command
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-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 62dbdae6..46f8e57c 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -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)}); }); } |