summary refs log tree commit diff
path: root/src/timeline/TimelineViewManager.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-20 22:48:04 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-20 22:48:04 +0100
commit5ef3250994d21954ae3736f42611268bbe03ad0e (patch)
tree66c27e68b376d25e3719c309e30f34ba54f1804a /src/timeline/TimelineViewManager.cpp
parentPass correct background color to username separator (diff)
downloadnheko-5ef3250994d21954ae3736f42611268bbe03ad0e.tar.xz
Add a filter for direct chats
fixes #317
Diffstat (limited to 'src/timeline/TimelineViewManager.cpp')
-rw-r--r--src/timeline/TimelineViewManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp

index c5fe6b4b..07fb0417 100644 --- a/src/timeline/TimelineViewManager.cpp +++ b/src/timeline/TimelineViewManager.cpp
@@ -359,10 +359,10 @@ TimelineViewManager::setVideoCallItem() } void -TimelineViewManager::sync(const mtx::responses::Rooms &rooms_res) +TimelineViewManager::sync(const mtx::responses::Sync &sync_) { - this->rooms_->sync(rooms_res); - this->communities_->sync(rooms_res); + this->rooms_->sync(sync_); + this->communities_->sync(sync_); if (isInitialSync_) { this->isInitialSync_ = false;