Fix js binding bad comment

This commit is contained in:
valere
2023-06-21 09:11:09 +02:00
parent 8a8074cada
commit 1cc90c8ec0
2 changed files with 2 additions and 2 deletions

View File

@@ -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()

View File

@@ -988,7 +988,6 @@ pub(crate) mod testing {
#[cfg(test)]
pub(crate) mod tests {
use ruma::{user_id, MilliSecondsSinceUnixEpoch};
use vodozemac::{Curve25519PublicKey, Ed25519PublicKey};