diff options
Diffstat (limited to 'jobs/generated/directory.cpp')
-rw-r--r-- | jobs/generated/directory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jobs/generated/directory.cpp b/jobs/generated/directory.cpp index 1fd1e443..ea6d493f 100644 --- a/jobs/generated/directory.cpp +++ b/jobs/generated/directory.cpp @@ -22,6 +22,8 @@ SetRoomAliasJob::SetRoomAliasJob(const QString& roomAlias, const QString& roomId if (!roomId.isEmpty()) _data.insert("room_id", toJson(roomId)); setRequestData(_data); + + addExpectedContentType("application/json"); } class GetRoomIdByAliasJob::Private |