diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-09 22:58:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-09 22:58:21 +0200 |
commit | 5d9443fccf2d336f16d6beacb5e1775c79123c02 (patch) | |
tree | fe5ba377808dfa7c3564dbe013e9894035c303f4 /lib/csapi/definitions/wellknown | |
parent | bf6303c41264d913ca049009034aa948464b8f30 (diff) | |
parent | e5a760371a158bec6a70353b96614611adecc4bc (diff) | |
download | libquotient-5d9443fccf2d336f16d6beacb5e1775c79123c02.tar.gz libquotient-5d9443fccf2d336f16d6beacb5e1775c79123c02.zip |
Merge pull request #492 from quotient-im/kitsune-qurl-in-csapi
Use QUrl in CS API backend
Diffstat (limited to 'lib/csapi/definitions/wellknown')
-rw-r--r-- | lib/csapi/definitions/wellknown/homeserver.h | 2 | ||||
-rw-r--r-- | lib/csapi/definitions/wellknown/identity_server.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/definitions/wellknown/homeserver.h b/lib/csapi/definitions/wellknown/homeserver.h index 5cfaca24..b7db4182 100644 --- a/lib/csapi/definitions/wellknown/homeserver.h +++ b/lib/csapi/definitions/wellknown/homeserver.h @@ -10,7 +10,7 @@ namespace Quotient { /// Used by clients to discover homeserver information. struct HomeserverInformation { /// The base URL for the homeserver for client-server connections. - QString baseUrl; + QUrl baseUrl; }; template <> diff --git a/lib/csapi/definitions/wellknown/identity_server.h b/lib/csapi/definitions/wellknown/identity_server.h index 3bd07bd1..885e3d34 100644 --- a/lib/csapi/definitions/wellknown/identity_server.h +++ b/lib/csapi/definitions/wellknown/identity_server.h @@ -10,7 +10,7 @@ namespace Quotient { /// Used by clients to discover identity server information. struct IdentityServerInformation { /// The base URL for the identity server for client-server connections. - QString baseUrl; + QUrl baseUrl; }; template <> |