aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/wellknown/homeserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/wellknown/homeserver.cpp')
-rw-r--r--lib/csapi/definitions/wellknown/homeserver.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/csapi/definitions/wellknown/homeserver.cpp b/lib/csapi/definitions/wellknown/homeserver.cpp
deleted file mode 100644
index f1482ee4..00000000
--- a/lib/csapi/definitions/wellknown/homeserver.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-/******************************************************************************
- * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
- */
-
-#include "homeserver.h"
-
-using namespace QMatrixClient;
-
-QJsonObject QMatrixClient::toJson(const HomeserverInformation& pod)
-{
- QJsonObject jo;
- addParam<>(jo, QStringLiteral("base_url"), pod.baseUrl);
- return jo;
-}
-
-HomeserverInformation FromJsonObject<HomeserverInformation>::operator()(const QJsonObject& jo) const
-{
- HomeserverInformation result;
- result.baseUrl =
- fromJson<QString>(jo.value("base_url"_ls));
-
- return result;
-}
-