diff options
Diffstat (limited to 'lib/application-service/definitions/user.h')
-rw-r--r-- | lib/application-service/definitions/user.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/application-service/definitions/user.h b/lib/application-service/definitions/user.h index 9c64a7ba..79ca7789 100644 --- a/lib/application-service/definitions/user.h +++ b/lib/application-service/definitions/user.h @@ -24,9 +24,9 @@ namespace QMatrixClient QJsonObject toJson(const ThirdPartyUser& pod); - template <> struct FromJson<ThirdPartyUser> + template <> struct FromJsonObject<ThirdPartyUser> { - ThirdPartyUser operator()(const QJsonValue& jv); + ThirdPartyUser operator()(const QJsonObject& jo) const; }; } // namespace QMatrixClient |