aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/list_public_rooms.cpp
diff options
context:
space:
mode:
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;