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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h

index 37486ca0..10839967 100644 --- a/src/Cache_p.h +++ b/src/Cache_p.h
@@ -259,6 +259,10 @@ private: int64_t index = std::numeric_limits<int64_t>::max(), bool forward = false); + std::optional<mtx::events::collections::TimelineEvent> getEvent( + const std::string &room_id, + const std::string &event_id); + //! Remove a room from the cache. // void removeLeftRoom(lmdb::txn &txn, const std::string &room_id); template<class T>