diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-03 21:24:49 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-03 21:24:49 +0900 |
commit | e80bfd2fc710d4780a2c22bde9d605a41bd4aaa4 (patch) | |
tree | 03eecc0f4999f90952da3d7cf8637c2fa2ac84f1 /jobs/generated/administrative_contact.cpp | |
parent | e1aedb9f3dcf7dcdc68e5eefab206258013c5114 (diff) | |
parent | f6b55a3c8fc60dd263954df3359027eff2ef1e18 (diff) | |
download | libquotient-e80bfd2fc710d4780a2c22bde9d605a41bd4aaa4.tar.gz libquotient-e80bfd2fc710d4780a2c22bde9d605a41bd4aaa4.zip |
Merge branch 'kitsune-expose-download-urls' into kitsune-gtad
Diffstat (limited to 'jobs/generated/administrative_contact.cpp')
-rw-r--r-- | jobs/generated/administrative_contact.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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<ThirdPartyIdentifier> 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) |