From 28400cef36578e5364e8497c9b77618ca0da084b Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 26 Oct 2026 04:55:06 +0100 Subject: SyncSessions owns Automerge's sync state --- src/simtest/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/simtest/mod.rs') diff --git a/src/simtest/mod.rs b/src/simtest/mod.rs index 26092ee..e7fc719 100644 --- a/src/simtest/mod.rs +++ b/src/simtest/mod.rs @@ -219,11 +219,11 @@ impl Sim { ago(p.last_seen), ago(p.last_sync_rx), p.is_unreachable(&node.timing, now), - p.sync.state.their_heads.as_ref().map(|heads| heads + p.sync.automerge_view().0.map(|heads| heads .iter() .map(|head| head.to_string()[..8].to_owned()) .collect::>()), - p.sync.state.in_flight, + p.sync.automerge_view().1, p.sync.sending.is_some(), p.sync .reply -- cgit v1.3.1