aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/peeking_events.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/peeking_events.h')
-rw-r--r--lib/csapi/peeking_events.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/csapi/peeking_events.h b/lib/csapi/peeking_events.h
index 1eee880f..885ff340 100644
--- a/lib/csapi/peeking_events.h
+++ b/lib/csapi/peeking_events.h
@@ -53,23 +53,14 @@ public:
/// A token which correlates to the first value in `chunk`. This
/// is usually the same token supplied to `from=`.
- QString begin() const
- {
- return loadFromJson<QString>("start"_ls);
- }
+ QString begin() const { return loadFromJson<QString>("start"_ls); }
/// A token which correlates to the last value in `chunk`. This
/// token should be used in the next request to `/events`.
- QString end() const
- {
- return loadFromJson<QString>("end"_ls);
- }
+ QString end() const { return loadFromJson<QString>("end"_ls); }
/// An array of events.
- RoomEvents chunk()
- {
- return takeFromJson<RoomEvents>("chunk"_ls);
- }
+ RoomEvents chunk() { return takeFromJson<RoomEvents>("chunk"_ls); }
};
} // namespace Quotient