summaryrefslogtreecommitdiff
path: root/src/message/history.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/message/history.rs')
-rw-r--r--src/message/history.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/message/history.rs b/src/message/history.rs
index 1a72c08..7585e1c 100644
--- a/src/message/history.rs
+++ b/src/message/history.rs
@@ -27,12 +27,6 @@ impl History {
self.message.clone()
}
- pub fn as_of(&self, resume_point: Sequence) -> Option<Message> {
- self.events()
- .filter(Sequence::up_to(resume_point))
- .collect()
- }
-
// Snapshot of this message as of all events recorded in this history.
pub fn as_snapshot(&self) -> Option<Message> {
self.events().collect()