aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/user_identifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/user_identifier.cpp')
-rw-r--r--lib/csapi/definitions/user_identifier.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/csapi/definitions/user_identifier.cpp b/lib/csapi/definitions/user_identifier.cpp
index 02201179..52bb1ae6 100644
--- a/lib/csapi/definitions/user_identifier.cpp
+++ b/lib/csapi/definitions/user_identifier.cpp
@@ -4,23 +4,18 @@
#include "user_identifier.h"
-
using namespace QMatrixClient;
-
-void JsonObjectConverter<UserIdentifier>::dumpTo(QJsonObject& jo, const UserIdentifier& pod)
+void JsonObjectConverter<UserIdentifier>::dumpTo(QJsonObject& jo,
+ const UserIdentifier& pod)
{
fillJson(jo, pod.additionalProperties);
addParam<>(jo, QStringLiteral("type"), pod.type);
-
}
-
-void JsonObjectConverter<UserIdentifier>::fillFrom(QJsonObject jo, UserIdentifier& result)
+
+void JsonObjectConverter<UserIdentifier>::fillFrom(QJsonObject jo,
+ UserIdentifier& result)
{
fromJson(jo.take("type"_ls), result.type);
fromJson(jo, result.additionalProperties);
-
}
-
-
-