aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/list_public_rooms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/list_public_rooms.cpp')
-rw-r--r--lib/csapi/list_public_rooms.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/csapi/list_public_rooms.cpp b/lib/csapi/list_public_rooms.cpp
index cdc5c716..415d816c 100644
--- a/lib/csapi/list_public_rooms.cpp
+++ b/lib/csapi/list_public_rooms.cpp
@@ -60,7 +60,9 @@ GetPublicRoomsJob::GetPublicRoomsJob(Omittable<int> limit, const QString& since,
: BaseJob(HttpVerb::Get, QStringLiteral("GetPublicRoomsJob"),
QStringLiteral("/_matrix/client/r0") % "/publicRooms",
queryToGetPublicRooms(limit, since, server), {}, false)
-{}
+{
+ addExpectedKey("chunk");
+}
auto queryToQueryPublicRooms(const QString& server)
{