diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-02 14:31:51 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-02 14:31:51 +0900 |
commit | ab33516eb9aed5db5decb572cb30a83971f4c51e (patch) | |
tree | b126c3b8338eefe8530a285703f350ffe0924a7a /jobs/generated/inviting.cpp | |
parent | b2c9daabc2e8b89e1108211d8c9badf1bac66640 (diff) | |
download | libquotient-ab33516eb9aed5db5decb572cb30a83971f4c51e.tar.gz libquotient-ab33516eb9aed5db5decb572cb30a83971f4c51e.zip |
Drop ConnectionData parameter from {{template}} files too; less blanks
Diffstat (limited to 'jobs/generated/inviting.cpp')
-rw-r--r-- | jobs/generated/inviting.cpp | 14 |
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) } + } ) { } - - + |