aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/kicking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/kicking.cpp')
-rw-r--r--jobs/generated/kicking.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/jobs/generated/kicking.cpp b/jobs/generated/kicking.cpp
index a0719aa2..5d6f1a64 100644
--- a/jobs/generated/kicking.cpp
+++ b/jobs/generated/kicking.cpp
@@ -6,13 +6,14 @@
#include "kicking.h"
#include "converters.h"
+
#include <QtCore/QStringBuilder>
using namespace QMatrixClient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
-KickJob::KickJob(QString roomId, QString userId, QString reason)
+KickJob::KickJob(const QString& roomId, const QString& userId, const QString& reason)
: BaseJob(HttpVerb::Post, "KickJob",
basePath % "/rooms/" % roomId % "/kick",
Query { }