aboutsummaryrefslogtreecommitdiff
path: root/jobs/leaveroomjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/leaveroomjob.cpp')
-rw-r--r--jobs/leaveroomjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/leaveroomjob.cpp b/jobs/leaveroomjob.cpp
index f73919ac..54e7f307 100644
--- a/jobs/leaveroomjob.cpp
+++ b/jobs/leaveroomjob.cpp
@@ -20,7 +20,7 @@
using namespace QMatrixClient;
-LeaveRoomJob::LeaveRoomJob(const ConnectionData* data, const QString& roomId)
- : BaseJob(data, HttpVerb::Post, "LeaveRoomJob",
+LeaveRoomJob::LeaveRoomJob(const QString& roomId)
+ : BaseJob(HttpVerb::Post, "LeaveRoomJob",
QStringLiteral("_matrix/client/r0/rooms/%1/leave").arg(roomId))
{ }