diff options
Diffstat (limited to 'lib/csapi/definitions/public_rooms_response.h')
-rw-r--r-- | lib/csapi/definitions/public_rooms_response.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/csapi/definitions/public_rooms_response.h b/lib/csapi/definitions/public_rooms_response.h index eea4bc5e..e7fe5ad8 100644 --- a/lib/csapi/definitions/public_rooms_response.h +++ b/lib/csapi/definitions/public_rooms_response.h @@ -39,9 +39,9 @@ namespace QMatrixClient QJsonObject toJson(const PublicRoomsChunk& pod); - template <> struct FromJson<PublicRoomsChunk> + template <> struct FromJsonObject<PublicRoomsChunk> { - PublicRoomsChunk operator()(const QJsonValue& jv); + PublicRoomsChunk operator()(const QJsonObject& jo) const; }; /// A list of the rooms on the server. @@ -64,9 +64,9 @@ namespace QMatrixClient QJsonObject toJson(const PublicRoomsResponse& pod); - template <> struct FromJson<PublicRoomsResponse> + template <> struct FromJsonObject<PublicRoomsResponse> { - PublicRoomsResponse operator()(const QJsonValue& jv); + PublicRoomsResponse operator()(const QJsonObject& jo) const; }; } // namespace QMatrixClient |