From 70beae3b936ee445659e471f40e59ffaa1e1a3d7 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 18:07:07 +0100 Subject: move all automerge references to document --- src/state/session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state/session.rs') diff --git a/src/state/session.rs b/src/state/session.rs index bf5c83f..7305c58 100644 --- a/src/state/session.rs +++ b/src/state/session.rs @@ -245,7 +245,7 @@ impl SyncSession { /// For the simulator's dump: the peer's heads as Automerge knows them, and whether /// it thinks a message is in flight. #[cfg(test)] - pub(crate) fn automerge_view(&self) -> (Option<&[crate::document::ChangeHash]>, bool) { + pub(crate) fn sync_view(&self) -> (Option<&[crate::document::ChangeHash]>, bool) { (self.state.their_heads.as_deref(), self.state.in_flight) } -- cgit v1.3.1