diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-10 16:35:00 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-13 10:38:27 +0200 |
commit | 360fa9c8a053d8b0888c5d2a8cda6c7672cdd5a1 (patch) | |
tree | 20ac33166ef77729f2539d2bbec2d9ab4225a64e /jobs/generated/kicking.cpp | |
parent | 8207ef24c0e71133f3cfe115a4652767b4a63f9d (diff) | |
download | libquotient-360fa9c8a053d8b0888c5d2a8cda6c7672cdd5a1.tar.gz libquotient-360fa9c8a053d8b0888c5d2a8cda6c7672cdd5a1.zip |
Cleaner generated files
Diffstat (limited to 'jobs/generated/kicking.cpp')
-rw-r--r-- | jobs/generated/kicking.cpp | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/jobs/generated/kicking.cpp b/jobs/generated/kicking.cpp index 4f9d6580..2e6797d6 100644 --- a/jobs/generated/kicking.cpp +++ b/jobs/generated/kicking.cpp @@ -5,28 +5,21 @@ #include "kicking.h" - -#include "../converters.h" - +#include "jobs/converters.h" #include <QtCore/QStringBuilder> using namespace QMatrixClient; - - static const auto basePath = QStringLiteral("/_matrix/client/r0"); KickJob::KickJob(QString roomId, QString user_id, QString reason) - : BaseJob(HttpVerb::Post, "KickJob" - , basePath % "/rooms/" % roomId % "/kick" - , Query { } - , Data { - { "user_id", toJson(user_id) }, - { "reason", toJson(reason) } - } + : BaseJob(HttpVerb::Post, "KickJob", + basePath % "/rooms/" % roomId % "/kick", + Query { }, + Data { + { "user_id", toJson(user_id) }, + { "reason", toJson(reason) } + } ) { } - - - |