diff options
Diffstat (limited to 'src/swarm/relay.rs')
| -rw-r--r-- | src/swarm/relay.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/swarm/relay.rs b/src/swarm/relay.rs index bee8687..5f7b8c0 100644 --- a/src/swarm/relay.rs +++ b/src/swarm/relay.rs @@ -158,7 +158,7 @@ pub(crate) async fn announce( let mut treeless = unauthored || writers.is_empty(); for (writer, changes) in writers { match state - .dissemination + .dissemination() .forward(state, *writer, from, changes) .await { @@ -338,7 +338,7 @@ pub(crate) async fn pull_after_grace(state: &AppState, peer: &str, remote: &tran crate::document::changes::missing(&replica.doc, remote.heads.listed()) }; if !missing.is_empty() { - state.dissemination.announced(peer, &missing); + state.dissemination().announced(peer, &missing); let grace = state .lock_rtt() .effective(peer, Instant::now(), state.timing.rtt_fresh_for()) |
