aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/logout.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-03 19:17:10 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-03 19:17:10 +0900
commit23dc9a3259108f8e0c55e535b9341042f1ff77f5 (patch)
tree59e6c68b14fc73f0aab6d72807ce85ec241947d8 /jobs/generated/logout.cpp
parente000929c0b06752703056b890ff0b5a4deae1c6a (diff)
downloadlibquotient-23dc9a3259108f8e0c55e535b9341042f1ff77f5.tar.gz
libquotient-23dc9a3259108f8e0c55e535b9341042f1ff77f5.zip
jobs/generated: Generate job-specific makeRequestUrl() methods
Diffstat (limited to 'jobs/generated/logout.cpp')
-rw-r--r--jobs/generated/logout.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/jobs/generated/logout.cpp b/jobs/generated/logout.cpp
index f7f8eff9..83139842 100644
--- a/jobs/generated/logout.cpp
+++ b/jobs/generated/logout.cpp
@@ -12,6 +12,12 @@ using namespace QMatrixClient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
+QUrl LogoutJob::makeRequestUrl(QUrl baseUrl)
+{
+ return BaseJob::makeRequestUrl(baseUrl,
+ basePath % "/logout");
+}
+
LogoutJob::LogoutJob()
: BaseJob(HttpVerb::Post, "LogoutJob",
basePath % "/logout")