aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/filter.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/filter.h')
-rw-r--r--lib/csapi/filter.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/csapi/filter.h b/lib/csapi/filter.h
index f07b489c..7e9e14ee 100644
--- a/lib/csapi/filter.h
+++ b/lib/csapi/filter.h
@@ -32,10 +32,13 @@ public:
// Result properties
/// The ID of the filter that was created. Cannot start
- /// with a ``{`` as this character is used to determine
+ /// with a `{` as this character is used to determine
/// if the filter provided is inline JSON or a previously
/// declared filter by homeservers on some APIs.
- QString filterId() const { return loadFromJson<QString>("filter_id"_ls); }
+ QString filterId() const
+ {
+ return loadFromJson<QString>("filter_id"_ls);
+ }
};
/*! \brief Download a filter
@@ -64,7 +67,10 @@ public:
// Result properties
/// The filter definition.
- Filter filter() const { return fromJson<Filter>(jsonData()); }
+ Filter filter() const
+ {
+ return fromJson<Filter>(jsonData());
+ }
};
} // namespace Quotient