crypto: Save the device to the sqlite db.

master
Damir Jelić 2020-04-21 09:28:26 +02:00
parent 001a0de00f
commit b572381a8e
1 changed files with 1 additions and 0 deletions

View File

@ -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
} }