diff --git a/bindings/matrix-sdk-crypto-js/src/device.rs b/bindings/matrix-sdk-crypto-js/src/device.rs index 35d07b7ec..0fe24e210 100644 --- a/bindings/matrix-sdk-crypto-js/src/device.rs +++ b/bindings/matrix-sdk-crypto-js/src/device.rs @@ -190,7 +190,8 @@ impl Device { self.inner.is_deleted() } - /// Is the device deleted? + /// Timestamp representing the first time this device has been seen (in + /// milliseconds). #[wasm_bindgen(js_name = "firstTimeSeen")] pub fn first_time_seen(&self) -> u64 { self.inner.first_time_seen_ts().0.into() diff --git a/crates/matrix-sdk-crypto/src/identities/device.rs b/crates/matrix-sdk-crypto/src/identities/device.rs index 8e407c04b..d8e43dcbf 100644 --- a/crates/matrix-sdk-crypto/src/identities/device.rs +++ b/crates/matrix-sdk-crypto/src/identities/device.rs @@ -988,7 +988,6 @@ pub(crate) mod testing { #[cfg(test)] pub(crate) mod tests { - use ruma::{user_id, MilliSecondsSinceUnixEpoch}; use vodozemac::{Curve25519PublicKey, Ed25519PublicKey};