aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/inviting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/inviting.cpp')
-rw-r--r--jobs/generated/inviting.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/jobs/generated/inviting.cpp b/jobs/generated/inviting.cpp
index e72bf734..78c9a2f6 100644
--- a/jobs/generated/inviting.cpp
+++ b/jobs/generated/inviting.cpp
@@ -6,13 +6,14 @@
#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 userId)
+InviteUserJob::InviteUserJob(const QString& roomId, const QString& userId)
: BaseJob(HttpVerb::Post, "InviteUserJob",
basePath % "/rooms/" % roomId % "/invite",
Query { }