diff options
Diffstat (limited to 'src/RoomDirectoryModel.cpp')
-rw-r--r-- | src/RoomDirectoryModel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/RoomDirectoryModel.cpp b/src/RoomDirectoryModel.cpp index 6cb7a4fb..06bd9d8a 100644 --- a/src/RoomDirectoryModel.cpp +++ b/src/RoomDirectoryModel.cpp @@ -131,7 +131,6 @@ void RoomDirectoryModel::fetchMore(const QModelIndex &) { nhlog::net()->debug("Fetching more rooms from mtxclient..."); - nhlog::net()->debug("Prev batch: {} | Next batch: {}", prevBatch_, nextBatch_); mtx::requests::PublicRooms req; req.limit = limit_; @@ -183,5 +182,5 @@ RoomDirectoryModel::displayRooms(std::vector<mtx::responses::PublicRoomsChunk> f canFetchMore_ = false; } - prevBatch_ = std::exchange(nextBatch_, next_batch); + prevBatch_ = next_batch; } |