diff options
Diffstat (limited to 'src/remake/coordinator.rs')
| -rw-r--r-- | src/remake/coordinator.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/remake/coordinator.rs b/src/remake/coordinator.rs index 0d7a434..a235308 100644 --- a/src/remake/coordinator.rs +++ b/src/remake/coordinator.rs @@ -234,6 +234,10 @@ async fn commit<H: Host>(host: &H, id: &str, record: &Record) -> Result<(), Stor }; let base_heads = fixed_now.then(|| records::encode_heads(&request.base_heads)); request.content = content; + #[cfg(feature = "federation")] + { + request.held = snapshot::Held(Some(host.holding())); + } let snapshot = match snapshot::build_detached(copy, request).await { Ok((snapshot, _copy)) => snapshot, Err(error) => { |
