crypto: Save the device to the sqlite db.
parent
001a0de00f
commit
b572381a8e
|
@ -609,6 +609,7 @@ impl CryptoStore for SqliteStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn save_device(&self, device: Device) -> Result<()> {
|
async fn save_device(&self, device: Device) -> Result<()> {
|
||||||
|
self.devices.add(device.clone());
|
||||||
self.save_device_helper(device).await
|
self.save_device_helper(device).await
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue