diff options
Diffstat (limited to 'lib/csapi/definitions/push_condition.h')
-rw-r--r-- | lib/csapi/definitions/push_condition.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/definitions/push_condition.h b/lib/csapi/definitions/push_condition.h index 99d7083c..defcebb3 100644 --- a/lib/csapi/definitions/push_condition.h +++ b/lib/csapi/definitions/push_condition.h @@ -31,9 +31,9 @@ namespace QMatrixClient QJsonObject toJson(const PushCondition& pod); - template <> struct FromJson<PushCondition> + template <> struct FromJsonObject<PushCondition> { - PushCondition operator()(const QJsonValue& jv); + PushCondition operator()(const QJsonObject& jo) const; }; } // namespace QMatrixClient |