sync with state store after login to set path otherwise it makes 2x the folders
parent
199fb59a76
commit
8db05ace1e
|
@ -209,6 +209,12 @@ impl Client {
|
|||
*olm = Some(OlmMachine::new(&response.user_id, &response.device_id)?);
|
||||
}
|
||||
|
||||
if let Some(store) = self.state_store.as_ref() {
|
||||
store
|
||||
.store_client_state(ClientState::from_base_client(self))
|
||||
.await?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue