diff options
Diffstat (limited to 'jobs/leaveroomjob.cpp')
-rw-r--r-- | jobs/leaveroomjob.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/jobs/leaveroomjob.cpp b/jobs/leaveroomjob.cpp index 22a5d34b..5557b8e4 100644 --- a/jobs/leaveroomjob.cpp +++ b/jobs/leaveroomjob.cpp @@ -22,10 +22,7 @@ using namespace QMatrixClient; -LeaveRoomJob::LeaveRoomJob(ConnectionData* data, Room* room) +LeaveRoomJob::LeaveRoomJob(const ConnectionData* data, Room* room) : BaseJob(data, HttpVerb::Post, "LeaveRoomJob", QString("_matrix/client/r0/rooms/%1/leave").arg(room->id())) { } - -LeaveRoomJob::~LeaveRoomJob() -{ } |