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.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/csapi/definitions/push_ruleset.h b/lib/csapi/definitions/push_ruleset.h
index f2d937c0..b2f791c4 100644
--- a/lib/csapi/definitions/push_ruleset.h
+++ b/lib/csapi/definitions/push_ruleset.h
@@ -6,24 +6,21 @@
#include "converters.h"
-#include <QtCore/QVector>
#include "converters.h"
#include "csapi/definitions/push_rule.h"
+#include <QtCore/QVector>
-namespace QMatrixClient
-{
+namespace QMatrixClient {
// Data structures
- struct PushRuleset
- {
+ struct PushRuleset {
QVector<PushRule> content;
QVector<PushRule> override;
QVector<PushRule> room;
QVector<PushRule> sender;
QVector<PushRule> underride;
};
- template <> struct JsonObjectConverter<PushRuleset>
- {
+ template <> struct JsonObjectConverter<PushRuleset> {
static void dumpTo(QJsonObject& jo, const PushRuleset& pod);
static void fillFrom(const QJsonObject& jo, PushRuleset& pod);
};