crypto: Fix a clippy warning.
parent
c3eb4d8106
commit
b97e3d7bae
|
@ -1092,7 +1092,7 @@ impl OlmMachine {
|
|||
|
||||
messages
|
||||
.entry(device.user_id().clone())
|
||||
.or_insert(BTreeMap::new())
|
||||
.or_insert_with(BTreeMap::new)
|
||||
.insert(
|
||||
DeviceIdOrAllDevices::DeviceId(device.device_id().into()),
|
||||
serde_json::value::to_raw_value(&encrypted)?,
|
||||
|
|
Loading…
Reference in New Issue