aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/public_rooms_response.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/public_rooms_response.cpp')
-rw-r--r--lib/csapi/definitions/public_rooms_response.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/definitions/public_rooms_response.cpp b/lib/csapi/definitions/public_rooms_response.cpp
index 60ae3749..2f52501d 100644
--- a/lib/csapi/definitions/public_rooms_response.cpp
+++ b/lib/csapi/definitions/public_rooms_response.cpp
@@ -31,7 +31,7 @@ PublicRoomsChunk FromJsonObject<PublicRoomsChunk>::operator()(const QJsonObject&
result.name =
fromJson<QString>(jo.value("name"_ls));
result.numJoinedMembers =
- fromJson<qint64>(jo.value("num_joined_members"_ls));
+ fromJson<int>(jo.value("num_joined_members"_ls));
result.roomId =
fromJson<QString>(jo.value("room_id"_ls));
result.topic =
@@ -66,7 +66,7 @@ PublicRoomsResponse FromJsonObject<PublicRoomsResponse>::operator()(const QJsonO
result.prevBatch =
fromJson<QString>(jo.value("prev_batch"_ls));
result.totalRoomCountEstimate =
- fromJson<qint64>(jo.value("total_room_count_estimate"_ls));
+ fromJson<int>(jo.value("total_room_count_estimate"_ls));
return result;
}