aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/auth_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/auth_data.h')
-rw-r--r--lib/csapi/definitions/auth_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/definitions/auth_data.h b/lib/csapi/definitions/auth_data.h
index dce55396..661d3e5f 100644
--- a/lib/csapi/definitions/auth_data.h
+++ b/lib/csapi/definitions/auth_data.h
@@ -26,9 +26,9 @@ namespace QMatrixClient
QJsonObject toJson(const AuthenticationData& pod);
- template <> struct FromJson<AuthenticationData>
+ template <> struct FromJsonObject<AuthenticationData>
{
- AuthenticationData operator()(const QJsonValue& jv);
+ AuthenticationData operator()(QJsonObject jo) const;
};
} // namespace QMatrixClient