Skip to content
Snippets Groups Projects
Commit fb28ceca authored by kamathmanu's avatar kamathmanu
Browse files

Fix typo

parent 76677cdb
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ from_json(const nlohmann::json &obj, PublicRooms &publicRooms)
publicRooms.prev_batch = obj.at("prev_batch").get<std::string>();
}
if (obj.count("prev_batch")) {
if (obj.count("total_room_count_estimate")) {
publicRooms.total_room_count_estimate = obj.at("total_room_count_estimate").get<int>();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment