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.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/csapi/inviting.cpp b/lib/csapi/inviting.cpp
index 7dc33b18..b60df6f8 100644
--- a/lib/csapi/inviting.cpp
+++ b/lib/csapi/inviting.cpp
@@ -8,7 +8,7 @@
#include <QtCore/QStringBuilder>
-using namespace QMatrixClient;
+using namespace Quotient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
@@ -16,10 +16,9 @@ static const auto InviteUserJobName = QStringLiteral("InviteUserJob");
InviteUserJob::InviteUserJob(const QString& roomId, const QString& userId)
: BaseJob(HttpVerb::Post, InviteUserJobName,
- basePath % "/rooms/" % roomId % "/invite")
+ basePath % "/rooms/" % roomId % "/invite")
{
QJsonObject _data;
addParam<>(_data, QStringLiteral("user_id"), userId);
setRequestData(_data);
}
-