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