diff --git a/matrix_sdk/src/device.rs b/matrix_sdk/src/device.rs index d4435d2a..c3ebbb41 100644 --- a/matrix_sdk/src/device.rs +++ b/matrix_sdk/src/device.rs @@ -83,7 +83,7 @@ impl UserDevices { let client = self.http_client.clone(); self.inner.devices().map(move |d| Device { - inner: d.clone(), + inner: d, http_client: client.clone(), }) }