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.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/csapi/filter.h b/lib/csapi/filter.h
index 7e9e14ee..01bec36b 100644
--- a/lib/csapi/filter.h
+++ b/lib/csapi/filter.h
@@ -35,10 +35,7 @@ public:
/// 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
@@ -67,10 +64,7 @@ public:
// Result properties
/// The filter definition.
- Filter filter() const
- {
- return fromJson<Filter>(jsonData());
- }
+ Filter filter() const { return fromJson<Filter>(jsonData()); }
};
} // namespace Quotient