From e4cd8b1c11864ab4d23c241ed3c519e2b1f067e5 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 30 Jul 2021 03:31:49 +0200 Subject: [PATCH] Log how many rooms we loaded --- src/timeline/RoomlistModel.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); }