aboutsummaryrefslogtreecommitdiff
path: root/jobs/logoutjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/logoutjob.cpp')
-rw-r--r--jobs/logoutjob.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/jobs/logoutjob.cpp b/jobs/logoutjob.cpp
index 88767e4c..25dee174 100644
--- a/jobs/logoutjob.cpp
+++ b/jobs/logoutjob.cpp
@@ -21,15 +21,10 @@
using namespace QMatrixClient;
LogoutJob::LogoutJob(ConnectionData* connection)
- : BaseJob(connection, JobHttpType::PostJob, "LogoutJob")
+ : BaseJob(connection, JobHttpType::PostJob, "LogoutJob", "/_matrix/client/r0/logout")
{
}
LogoutJob::~LogoutJob()
{
}
-
-QString LogoutJob::apiPath() const
-{
- return "/_matrix/client/r0/logout";
-}