1 files changed, 2 insertions, 2 deletions
diff --git a/src/timeline2/TimelineModel.cpp b/src/timeline2/TimelineModel.cpp
index 27bd09b6..b37ade54 100644
--- a/src/timeline2/TimelineModel.cpp
+++ b/src/timeline2/TimelineModel.cpp
@@ -618,10 +618,12 @@ TimelineModel::fetchHistory()
opts.room_id,
mtx::errors::to_string(err->matrix_error.errcode),
err->matrix_error.error);
+ paginationInProgress = false;
return;
}
emit oldMessagesRetrieved(std::move(res));
+ paginationInProgress = false;
});
}
@@ -658,8 +660,6 @@ TimelineModel::addBackwardsEvents(const mtx::responses::Messages &msgs)
}
prev_batch_token_ = QString::fromStdString(msgs.end);
-
- paginationInProgress = false;
}
QColor
|