aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/inviting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/inviting.cpp')
-rw-r--r--lib/csapi/inviting.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/csapi/inviting.cpp b/lib/csapi/inviting.cpp
index b60df6f8..f070c3ce 100644
--- a/lib/csapi/inviting.cpp
+++ b/lib/csapi/inviting.cpp
@@ -12,10 +12,8 @@ using namespace Quotient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
-static const auto InviteUserJobName = QStringLiteral("InviteUserJob");
-
InviteUserJob::InviteUserJob(const QString& roomId, const QString& userId)
- : BaseJob(HttpVerb::Post, InviteUserJobName,
+ : BaseJob(HttpVerb::Post, QStringLiteral("InviteUserJob"),
basePath % "/rooms/" % roomId % "/invite")
{
QJsonObject _data;