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.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/csapi/appservice_room_directory.cpp b/lib/csapi/appservice_room_directory.cpp
index 40d784c6..c989559f 100644
--- a/lib/csapi/appservice_room_directory.cpp
+++ b/lib/csapi/appservice_room_directory.cpp
@@ -6,11 +6,13 @@
using namespace Quotient;
-UpdateAppserviceRoomDirectoryVisibilityJob::UpdateAppserviceRoomDirectoryVisibilityJob(
- const QString& networkId, const QString& roomId, const QString& visibility)
+UpdateAppserviceRoomDirectoryVisibilityJob::
+ UpdateAppserviceRoomDirectoryVisibilityJob(const QString& networkId,
+ const QString& roomId,
+ const QString& visibility)
: BaseJob(HttpVerb::Put,
QStringLiteral("UpdateAppserviceRoomDirectoryVisibilityJob"),
- makePath("/_matrix/client/r0", "/directory/list/appservice/",
+ makePath("/_matrix/client/v3", "/directory/list/appservice/",
networkId, "/", roomId))
{
QJsonObject _data;