aboutsummaryrefslogtreecommitdiff
path: root/lib/application-service/definitions/user.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-20 07:28:11 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-20 07:28:11 +0900
commitb71baf486dc276ad616e3c7b46f44b4cafb62f40 (patch)
tree2fa8d2f95fbd24a7c5d98c542f6f7c406a631158 /lib/application-service/definitions/user.h
parentf004c32ae4291fd8eca7f4106af7582e6fc86f5a (diff)
downloadlibquotient-b71baf486dc276ad616e3c7b46f44b4cafb62f40.tar.gz
libquotient-b71baf486dc276ad616e3c7b46f44b4cafb62f40.zip
csapi: Rename entities in application-service/
The actual change is in API definition files, this is just regeneration.
Diffstat (limited to 'lib/application-service/definitions/user.h')
-rw-r--r--lib/application-service/definitions/user.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/application-service/definitions/user.h b/lib/application-service/definitions/user.h
index 3f609dea..e24bd8d5 100644
--- a/lib/application-service/definitions/user.h
+++ b/lib/application-service/definitions/user.h
@@ -13,7 +13,7 @@ namespace QMatrixClient
{
// Data structures
- struct User
+ struct ThirdPartyUser
{
/// A Matrix User ID represting a third party user.
QString userid;
@@ -23,11 +23,11 @@ namespace QMatrixClient
QJsonObject fields;
};
- QJsonObject toJson(const User& pod);
+ QJsonObject toJson(const ThirdPartyUser& pod);
- template <> struct FromJson<User>
+ template <> struct FromJson<ThirdPartyUser>
{
- User operator()(const QJsonValue& jv);
+ ThirdPartyUser operator()(const QJsonValue& jv);
};
} // namespace QMatrixClient