summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-12-27 16:15:49 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-12-27 16:15:49 +0100
commit01915360b4edc4e4c82d2f79457859c649b7b1d2 (patch)
tree9248cbe9a5fe71c180aeccf34a532700c429ebc8 /src/timeline/TimelineModel.cpp
parentUpdate flat-manager-client (diff)
downloadnheko-01915360b4edc4e4c82d2f79457859c649b7b1d2.tar.xz
Fix state reset command
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r--src/timeline/TimelineModel.cpp2
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)});
     });
 }