aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/appservice_room_directory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/appservice_room_directory.cpp')
-rw-r--r--lib/csapi/appservice_room_directory.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/csapi/appservice_room_directory.cpp b/lib/csapi/appservice_room_directory.cpp
index f40e2f05..87221aa4 100644
--- a/lib/csapi/appservice_room_directory.cpp
+++ b/lib/csapi/appservice_room_directory.cpp
@@ -8,18 +8,19 @@
#include <QtCore/QStringBuilder>
-using namespace QMatrixClient;
+using namespace Quotient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
-static const auto UpdateAppserviceRoomDirectoryVsibilityJobName = QStringLiteral("UpdateAppserviceRoomDirectoryVsibilityJob");
+static const auto UpdateAppserviceRoomDirectoryVsibilityJobName =
+ QStringLiteral("UpdateAppserviceRoomDirectoryVsibilityJob");
-UpdateAppserviceRoomDirectoryVsibilityJob::UpdateAppserviceRoomDirectoryVsibilityJob(const QString& networkId, const QString& roomId, const QString& visibility)
+UpdateAppserviceRoomDirectoryVsibilityJob::UpdateAppserviceRoomDirectoryVsibilityJob(
+ const QString& networkId, const QString& roomId, const QString& visibility)
: BaseJob(HttpVerb::Put, UpdateAppserviceRoomDirectoryVsibilityJobName,
- basePath % "/directory/list/appservice/" % networkId % "/" % roomId)
+ basePath % "/directory/list/appservice/" % networkId % "/" % roomId)
{
QJsonObject _data;
addParam<>(_data, QStringLiteral("visibility"), visibility);
setRequestData(_data);
}
-