aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/swarm/sync.rs')
-rw-r--r--src/swarm/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swarm/sync.rs b/src/swarm/sync.rs
index 3939377..95149f9 100644
--- a/src/swarm/sync.rs
+++ b/src/swarm/sync.rs
@@ -66,7 +66,7 @@ async fn deliver_sync_to_peer(state: &AppState, peer: &str) -> Result<()> {
// A set of events is passed on otherwise (`swarm::set`): with a peer that holds
// one, and of the Automerge document a node holds beside one alone, no sync.
#[cfg(feature = "federation")]
- if state.of_a_set() || crate::swarm::set::holds_a_set(state, peer).await {
+ if state.of_a_set() || crate::swarm::set::holds_a_set_alone(state, peer).await {
return Ok(());
}