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