aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/administrative_contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/administrative_contact.cpp')
-rw-r--r--jobs/generated/administrative_contact.cpp25
1 files changed, 8 insertions, 17 deletions
diff --git a/jobs/generated/administrative_contact.cpp b/jobs/generated/administrative_contact.cpp
index 705c5d54..479bee52 100644
--- a/jobs/generated/administrative_contact.cpp
+++ b/jobs/generated/administrative_contact.cpp
@@ -2,11 +2,8 @@
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
-
#include "administrative_contact.h"
-#include "converters.h"
-
#include <QtCore/QStringBuilder>
using namespace QMatrixClient;
@@ -47,16 +44,13 @@ class GetAccount3PIDsJob::Private
GetAccount3PIDsJob::GetAccount3PIDsJob()
: BaseJob(HttpVerb::Get, "GetAccount3PIDsJob",
- basePath % "/account/3pid",
- Query { }
- ), d(new Private)
-{ }
-
-GetAccount3PIDsJob::~GetAccount3PIDsJob()
+ basePath % "/account/3pid")
+ , d(new Private)
{
- delete d;
}
+GetAccount3PIDsJob::~GetAccount3PIDsJob() = default;
+
const QVector<GetAccount3PIDsJob::ThirdPartyIdentifier>& GetAccount3PIDsJob::threepids() const
{
return d->threepids;
@@ -100,9 +94,7 @@ namespace QMatrixClient
Post3PIDsJob::Post3PIDsJob(const ThreePidCredentials& threePidCreds, bool bind)
: BaseJob(HttpVerb::Post, "Post3PIDsJob",
- basePath % "/account/3pid",
- Query { }
- )
+ basePath % "/account/3pid")
{
QJsonObject _data;
_data.insert("three_pid_creds", toJson(threePidCreds));
@@ -112,8 +104,7 @@ Post3PIDsJob::Post3PIDsJob(const ThreePidCredentials& threePidCreds, bool bind)
RequestTokenTo3PIDJob::RequestTokenTo3PIDJob()
: BaseJob(HttpVerb::Post, "RequestTokenTo3PIDJob",
- basePath % "/account/3pid/email/requestToken",
- Query { }, Data { }, false
- )
-{ }
+ basePath % "/account/3pid/email/requestToken", false)
+{
+}