From ab33516eb9aed5db5decb572cb30a83971f4c51e Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 2 Oct 2017 14:31:51 +0900 Subject: Drop ConnectionData parameter from {{template}} files too; less blanks --- jobs/generated/kicking.cpp | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'jobs/generated/kicking.cpp') diff --git a/jobs/generated/kicking.cpp b/jobs/generated/kicking.cpp index 4f9d6580..3e2ef5be 100644 --- a/jobs/generated/kicking.cpp +++ b/jobs/generated/kicking.cpp @@ -5,28 +5,24 @@ #include "kicking.h" - #include "../converters.h" #include 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) } + } ) { } - - + -- cgit v1.2.3