diff options
Diffstat (limited to 'jobs/generated/third_party_membership.cpp')
-rw-r--r-- | jobs/generated/third_party_membership.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/jobs/generated/third_party_membership.cpp b/jobs/generated/third_party_membership.cpp index f5ccf123..b637d481 100644 --- a/jobs/generated/third_party_membership.cpp +++ b/jobs/generated/third_party_membership.cpp @@ -14,16 +14,12 @@ static const auto basePath = QStringLiteral("/_matrix/client/r0"); InviteBy3PIDJob::InviteBy3PIDJob(const QString& roomId, const QString& idServer, const QString& medium, const QString& address) : BaseJob(HttpVerb::Post, "InviteBy3PIDJob", - basePath % "/rooms/" % roomId % "/invite", - Query { } - ) + basePath % "/rooms/" % roomId % "/invite") { QJsonObject _data; _data.insert("id_server", toJson(idServer)); _data.insert("medium", toJson(medium)); _data.insert("address", toJson(address)); setRequestData(_data); - - addExpectedContentType("application/json"); } |