aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/list_public_rooms.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-05-31 18:24:53 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-05-31 18:25:37 +0200
commit42811660094c88a4a1bfa8bd8ace5f4b148c246a (patch)
tree36c7c05f16f3643eaabec75d3e231c1e6bf2a61d /lib/csapi/list_public_rooms.h
parentfed831820965ad5654317d5e7df18c23fa75de20 (diff)
downloadlibquotient-42811660094c88a4a1bfa8bd8ace5f4b148c246a.tar.gz
libquotient-42811660094c88a4a1bfa8bd8ace5f4b148c246a.zip
Regenerate API files (FTBFS; see the next commit)
Diffstat (limited to 'lib/csapi/list_public_rooms.h')
-rw-r--r--lib/csapi/list_public_rooms.h10
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