aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/third_party_membership.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/third_party_membership.cpp')
-rw-r--r--jobs/generated/third_party_membership.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/jobs/generated/third_party_membership.cpp b/jobs/generated/third_party_membership.cpp
index dbb3ebee..f5ccf123 100644
--- a/jobs/generated/third_party_membership.cpp
+++ b/jobs/generated/third_party_membership.cpp
@@ -23,5 +23,7 @@ InviteBy3PIDJob::InviteBy3PIDJob(const QString& roomId, const QString& idServer,
_data.insert("medium", toJson(medium));
_data.insert("address", toJson(address));
setRequestData(_data);
+
+ addExpectedContentType("application/json");
}