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.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/csapi/appservice_room_directory.cpp b/lib/csapi/appservice_room_directory.cpp
index 87221aa4..bfcab2a7 100644
--- a/lib/csapi/appservice_room_directory.cpp
+++ b/lib/csapi/appservice_room_directory.cpp
@@ -12,12 +12,10 @@ using namespace Quotient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
-static const auto UpdateAppserviceRoomDirectoryVsibilityJobName =
- QStringLiteral("UpdateAppserviceRoomDirectoryVsibilityJob");
-
UpdateAppserviceRoomDirectoryVsibilityJob::UpdateAppserviceRoomDirectoryVsibilityJob(
const QString& networkId, const QString& roomId, const QString& visibility)
- : BaseJob(HttpVerb::Put, UpdateAppserviceRoomDirectoryVsibilityJobName,
+ : BaseJob(HttpVerb::Put,
+ QStringLiteral("UpdateAppserviceRoomDirectoryVsibilityJob"),
basePath % "/directory/list/appservice/" % networkId % "/" % roomId)
{
QJsonObject _data;