documentation

This commit is contained in:
Mauro Romito 2023-05-08 17:17:54 +02:00
parent 5d5aec8218
commit 4f20efcbdd
1 changed files with 1 additions and 0 deletions

View File

@ -364,6 +364,7 @@ impl SlidingSync {
Ok(update_summary)
}
/// Sync once just to update the E2E encryption keys.
pub async fn sync_once_for_keys(&self) -> Result<()> {
let stream_id = Uuid::new_v4().to_string();
let keys_list = SlidingSyncList::builder("sync_once_for_keys").build();