summary refs log tree commit diff
path: root/src/Cache_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r--src/Cache_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h

index 174090a9..7d7b70e6 100644 --- a/src/Cache_p.h +++ b/src/Cache_p.h
@@ -218,6 +218,9 @@ public: const std::string &room_id); void removePendingStatus(const std::string &room_id, const std::string &txn_id); + //! clear timeline keeping only the latest batch + void clearTimeline(const std::string &room_id); + //! Remove old unused data. void deleteOldMessages(); void deleteOldData() noexcept;