diff options
Diffstat (limited to 'lib/csapi/list_public_rooms.h')
-rw-r--r-- | lib/csapi/list_public_rooms.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/csapi/list_public_rooms.h b/lib/csapi/list_public_rooms.h index e1f03db7..701a74f6 100644 --- a/lib/csapi/list_public_rooms.h +++ b/lib/csapi/list_public_rooms.h @@ -4,7 +4,7 @@ #pragma once -#include "csapi/definitions/public_rooms_response.h" +#include "csapi/definitions/public_rooms_chunk.h" #include "jobs/basejob.h" @@ -103,9 +103,9 @@ public: // Result properties /// A paginated chunk of public rooms. - QVector<PublicRoomsChunk> chunk() const + QVector<QJsonObject> chunk() const { - return loadFromJson<QVector<PublicRoomsChunk>>("chunk"_ls); + return loadFromJson<QVector<QJsonObject>>("chunk"_ls); } /// A pagination token for the response. The absence of this token @@ -182,9 +182,9 @@ public: // Result properties /// A paginated chunk of public rooms. - QVector<PublicRoomsChunk> chunk() const + QVector<QJsonObject> chunk() const { - return loadFromJson<QVector<PublicRoomsChunk>>("chunk"_ls); + return loadFromJson<QVector<QJsonObject>>("chunk"_ls); } /// A pagination token for the response. The absence of this token |