diff options
Diffstat (limited to 'jobs/checkauthmethods.cpp')
-rw-r--r-- | jobs/checkauthmethods.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/jobs/checkauthmethods.cpp b/jobs/checkauthmethods.cpp index c93bf802..28646822 100644 --- a/jobs/checkauthmethods.cpp +++ b/jobs/checkauthmethods.cpp @@ -37,7 +37,8 @@ class CheckAuthMethods::Private }; CheckAuthMethods::CheckAuthMethods(ConnectionData* connection) - : BaseJob(connection, JobHttpType::GetJob, "CheckAuthMethods", false) + : BaseJob(connection, JobHttpType::GetJob, "CheckAuthMethods", + "_matrix/client/r0/login", Query(), Data(), false) , d(new Private) { } @@ -52,11 +53,6 @@ QString CheckAuthMethods::session() return d->session; } -QString CheckAuthMethods::apiPath() const -{ - return "_matrix/client/r0/login"; -} - BaseJob::Status CheckAuthMethods::parseJson(const QJsonDocument& data) { // TODO |