aboutsummaryrefslogtreecommitdiff
path: root/jobs/logoutjob.cpp
diff options
context:
space:
mode:
authorKitsuneRal <Kitsune-Ral@users.sf.net>2016-10-17 07:25:30 +0900
committerGitHub <noreply@github.com>2016-10-17 07:25:30 +0900
commitb44ad3573d21c456014d7983669acc31dd6eebdf (patch)
tree9281918022181ec6eb3b28b0fe6dcbef572233e1 /jobs/logoutjob.cpp
parent6536124821c1df791a69a58de21a71322d9363f6 (diff)
parentf2cfd4691d4830f57ebaea08b9aa9a4db3aad537 (diff)
downloadlibquotient-b44ad3573d21c456014d7983669acc31dd6eebdf.tar.gz
libquotient-b44ad3573d21c456014d7983669acc31dd6eebdf.zip
Merge pull request #43 from Fxrh/kitsune-request-params
Merged as amended.
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";
-}