diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 3e3434b4..03606d90 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -1162,12 +1162,12 @@ TimelineModel::syncState(const mtx::responses::State &s) void TimelineModel::addEvents(const mtx::responses::Timeline &timeline) { - if (timeline.events.empty()) - return; - if (timeline.limited) setPaginationInProgress(false); + if (timeline.events.empty()) + return; + events.handleSync(timeline); using namespace mtx::events;