diff options
Diffstat (limited to 'lib/csapi/definitions/wellknown/homeserver.h')
-rw-r--r-- | lib/csapi/definitions/wellknown/homeserver.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/csapi/definitions/wellknown/homeserver.h b/lib/csapi/definitions/wellknown/homeserver.h index fe6af172..b73cee17 100644 --- a/lib/csapi/definitions/wellknown/homeserver.h +++ b/lib/csapi/definitions/wellknown/homeserver.h @@ -4,11 +4,8 @@ #pragma once - - #include "converters.h" - namespace QMatrixClient { @@ -19,15 +16,13 @@ struct HomeserverInformation { /// The base URL for the homeserver for client-server connections. QString baseUrl; - - }; -template <> struct JsonObjectConverter<HomeserverInformation> +template <> +struct JsonObjectConverter<HomeserverInformation> { static void dumpTo(QJsonObject& jo, const HomeserverInformation& pod); - static void fillFrom(const QJsonObject& jo, HomeserverInformation& pod);}; - - + static void fillFrom(const QJsonObject& jo, HomeserverInformation& pod); +}; } // namespace QMatrixClient |