Log how many rooms we loaded

This commit is contained in:
Nicolas Werner 2021-07-30 03:31:49 +02:00
parent 6409462a96
commit e4cd8b1c11
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}