pub async fn insert_archive<F, Fut>(
first: &mut ArchiveImporter,
reopen: F,
context: &impl XmtpSharedContext,
) -> Result<(), DeviceSyncError>Expand description
Import an archive. first reads it once for its deletion messages;
reopen then reads it again for the import, so a pre-8.0 self-deletion
is restored whichever comes first, it or its target.