diff options
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -225,7 +225,16 @@ pub async fn run() -> Result<()> { // or from the root. #[cfg(feature = "federation")] let set = match (&store, &args.store_document) { - (Some(store), Some(path)) => Some(store.set(path, &files, args.store_keeps_forgotten)?), + (Some(store), Some(path)) => Some( + store.set( + path, + &files, + args.store_checkpoint + .as_deref() + .and_then(federation::store::Id::from_hex), + args.store_keeps_forgotten, + )?, + ), _ => None, }; #[cfg(feature = "federation")] |
