diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-30 03:31:49 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-30 03:31:49 +0200 |
commit | e4cd8b1c11864ab4d23c241ed3c519e2b1f067e5 (patch) | |
tree | 71978ee09960c3d4e87b724ffe64e546e8e8260b /src/timeline/RoomlistModel.cpp | |
parent | Rate limit olm session creation (diff) | |
download | nheko-e4cd8b1c11864ab4d23c241ed3c519e2b1f067e5.tar.xz |
Log how many rooms we loaded
Diffstat (limited to 'src/timeline/RoomlistModel.cpp')
-rw-r--r-- | src/timeline/RoomlistModel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/RoomlistModel.cpp b/src/timeline/RoomlistModel.cpp index f7f377fb..f4c927ac 100644 --- a/src/timeline/RoomlistModel.cpp +++ b/src/timeline/RoomlistModel.cpp @@ -533,6 +533,8 @@ RoomlistModel::initializeRooms() for (const auto &id : cache::client()->roomIds()) addRoom(id, true); + nhlog::db()->info("Restored {} rooms from cache", rowCount()); + endResetModel(); } |