From 23dc9a3259108f8e0c55e535b9341042f1ff77f5 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 3 Feb 2018 19:17:10 +0900 Subject: jobs/generated: Generate job-specific makeRequestUrl() methods --- jobs/generated/administrative_contact.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'jobs/generated/administrative_contact.cpp') diff --git a/jobs/generated/administrative_contact.cpp b/jobs/generated/administrative_contact.cpp index 479bee52..1af57941 100644 --- a/jobs/generated/administrative_contact.cpp +++ b/jobs/generated/administrative_contact.cpp @@ -42,6 +42,12 @@ class GetAccount3PIDsJob::Private QVector threepids; }; +QUrl GetAccount3PIDsJob::makeRequestUrl(QUrl baseUrl) +{ + return BaseJob::makeRequestUrl(baseUrl, + basePath % "/account/3pid"); +} + GetAccount3PIDsJob::GetAccount3PIDsJob() : BaseJob(HttpVerb::Get, "GetAccount3PIDsJob", basePath % "/account/3pid") @@ -102,6 +108,12 @@ Post3PIDsJob::Post3PIDsJob(const ThreePidCredentials& threePidCreds, bool bind) setRequestData(_data); } +QUrl RequestTokenTo3PIDJob::makeRequestUrl(QUrl baseUrl) +{ + return BaseJob::makeRequestUrl(baseUrl, + basePath % "/account/3pid/email/requestToken"); +} + RequestTokenTo3PIDJob::RequestTokenTo3PIDJob() : BaseJob(HttpVerb::Post, "RequestTokenTo3PIDJob", basePath % "/account/3pid/email/requestToken", false) -- cgit v1.2.3