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/swarm/document_file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/swarm/document_file.rs') diff --git a/src/swarm/document_file.rs b/src/swarm/document_file.rs index 188b2b6..435ff32 100644 --- a/src/swarm/document_file.rs +++ b/src/swarm/document_file.rs @@ -47,7 +47,7 @@ pub(crate) async fn flush(state: &AppState) { return; } let heads = replica.heads().to_vec(); - (heads, replica.doc.save_after(&since)) + (heads, crate::document::save_since(&mut replica.doc, &since)) }; file.append(since, heads, increment).await; } -- cgit v1.3.1