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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/generated/inviting.cpp b/jobs/generated/inviting.cpp
index 73c73076..e72bf734 100644
--- a/jobs/generated/inviting.cpp
+++ b/jobs/generated/inviting.cpp
@@ -12,14 +12,14 @@ using namespace QMatrixClient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
-InviteUserJob::InviteUserJob(QString roomId, QString user_id)
+InviteUserJob::InviteUserJob(QString roomId, QString userId)
: BaseJob(HttpVerb::Post, "InviteUserJob",
basePath % "/rooms/" % roomId % "/invite",
Query { }
)
{
Data _data;
- _data.insert("user_id", toJson(user_id));
+ _data.insert("user_id", toJson(userId));
setRequestData(_data);
}