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