diff options
Diffstat (limited to 'jobs/generated/typing.cpp')
-rw-r--r-- | jobs/generated/typing.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/jobs/generated/typing.cpp b/jobs/generated/typing.cpp index 05e5fd1e..fa700290 100644 --- a/jobs/generated/typing.cpp +++ b/jobs/generated/typing.cpp @@ -14,15 +14,11 @@ static const auto basePath = QStringLiteral("/_matrix/client/r0"); SetTypingJob::SetTypingJob(const QString& userId, const QString& roomId, bool typing, int timeout) : BaseJob(HttpVerb::Put, "SetTypingJob", - basePath % "/rooms/" % roomId % "/typing/" % userId, - Query { } - ) + basePath % "/rooms/" % roomId % "/typing/" % userId) { QJsonObject _data; _data.insert("typing", toJson(typing)); _data.insert("timeout", toJson(timeout)); setRequestData(_data); - - addExpectedContentType("application/json"); } |