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.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/jobs/generated/inviting.cpp b/jobs/generated/inviting.cpp
index 1e0c29a3..164a2b2b 100644
--- a/jobs/generated/inviting.cpp
+++ b/jobs/generated/inviting.cpp
@@ -5,25 +5,23 @@
#include "inviting.h"
-
#include "../converters.h"
#include <QtCore/QStringBuilder>
using namespace QMatrixClient;
-
-
static const auto basePath = QStringLiteral("/_matrix/client/r0");
InviteUserJob::InviteUserJob(QString roomId, QString user_id)
: BaseJob(HttpVerb::Post, "InviteUserJob",
- basePath % "/rooms/" % roomId % "/invite",
- Query {},
- Data { { "user_id", toJson(user_id) } }
+ basePath % "/rooms/" % roomId % "/invite",
+ Query { },
+ Data {
+ { "user_id", toJson(user_id) }
+ }
)
{ }
-
-
+