aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/inviting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/inviting.cpp')
-rw-r--r--jobs/generated/inviting.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/jobs/generated/inviting.cpp b/jobs/generated/inviting.cpp
index 5f89adf7..d2ee2107 100644
--- a/jobs/generated/inviting.cpp
+++ b/jobs/generated/inviting.cpp
@@ -2,7 +2,6 @@
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
-
#include "inviting.h"
#include "converters.h"
@@ -15,9 +14,7 @@ static const auto basePath = QStringLiteral("/_matrix/client/r0");
InviteUserJob::InviteUserJob(const QString& roomId, const QString& userId)
: BaseJob(HttpVerb::Post, "InviteUserJob",
- basePath % "/rooms/" % roomId % "/invite",
- Query { }
- )
+ basePath % "/rooms/" % roomId % "/invite")
{
QJsonObject _data;
_data.insert("user_id", toJson(userId));