diff options
Diffstat (limited to 'jobs/joinroomjob.cpp')
-rw-r--r-- | jobs/joinroomjob.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/joinroomjob.cpp b/jobs/joinroomjob.cpp index 85a331fa..799d4926 100644 --- a/jobs/joinroomjob.cpp +++ b/jobs/joinroomjob.cpp @@ -33,7 +33,7 @@ class JoinRoomJob::Private }; JoinRoomJob::JoinRoomJob(ConnectionData* data, QString roomAlias) - : BaseJob(data, JobHttpType::PostJob) + : BaseJob(data, JobHttpType::PostJob, "JoinRoomJob") , d(new Private) { d->roomAlias = roomAlias; @@ -49,7 +49,7 @@ QString JoinRoomJob::roomId() return d->roomId; } -QString JoinRoomJob::apiPath() +QString JoinRoomJob::apiPath() const { return QString("_matrix/client/r0/join/%1").arg(d->roomAlias); } |