aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/leaving.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/leaving.cpp')
-rw-r--r--jobs/generated/leaving.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/jobs/generated/leaving.cpp b/jobs/generated/leaving.cpp
index 392f1ca8..2cf7fda3 100644
--- a/jobs/generated/leaving.cpp
+++ b/jobs/generated/leaving.cpp
@@ -6,20 +6,21 @@
#include "leaving.h"
#include "converters.h"
+
#include <QtCore/QStringBuilder>
using namespace QMatrixClient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
-LeaveRoomJob::LeaveRoomJob(QString roomId)
+LeaveRoomJob::LeaveRoomJob(const QString& roomId)
: BaseJob(HttpVerb::Post, "LeaveRoomJob",
basePath % "/rooms/" % roomId % "/leave",
Query { }
)
{ }
-ForgetRoomJob::ForgetRoomJob(QString roomId)
+ForgetRoomJob::ForgetRoomJob(const QString& roomId)
: BaseJob(HttpVerb::Post, "ForgetRoomJob",
basePath % "/rooms/" % roomId % "/forget",
Query { }