aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/list_public_rooms.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-05 11:01:18 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-09 11:54:40 +0900
commit7169338dedbf0184da4c971e7cecb6be13b1d129 (patch)
tree6d6fcecf323cd8f39c24349abd139a2a28fa4c48 /jobs/generated/list_public_rooms.cpp
parentb142117d78a2a4ce21e818c62cb7a10cff80af0d (diff)
downloadlibquotient-7169338dedbf0184da4c971e7cecb6be13b1d129.tar.gz
libquotient-7169338dedbf0184da4c971e7cecb6be13b1d129.zip
jobs/generated: Use BaseJob::addExpectedContentType()
Diffstat (limited to 'jobs/generated/list_public_rooms.cpp')
-rw-r--r--jobs/generated/list_public_rooms.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/jobs/generated/list_public_rooms.cpp b/jobs/generated/list_public_rooms.cpp
index d15e9de3..1e775f1b 100644
--- a/jobs/generated/list_public_rooms.cpp
+++ b/jobs/generated/list_public_rooms.cpp
@@ -205,6 +205,8 @@ QueryPublicRoomsJob::QueryPublicRoomsJob(const QString& server, double limit, co
_data.insert("since", toJson(since));
_data.insert("filter", toJson(filter));
setRequestData(_data);
+
+ addExpectedContentType("application/json");
}
QueryPublicRoomsJob::~QueryPublicRoomsJob() = default;