We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 121dede commit 74b79d8Copy full SHA for 74b79d8
bindings/matrix-sdk-crypto-ffi/src/device.rs
@@ -28,6 +28,8 @@ pub struct Device {
28
/// The first time this device was seen in local timestamp, milliseconds
29
/// since epoch.
30
pub first_time_seen_ts: u64,
31
+ /// Whether or not the device is a dehydrated device.
32
+ pub dehydrated: bool,
33
}
34
35
impl From<InnerDevice> for Device {
@@ -42,6 +44,7 @@ impl From<InnerDevice> for Device {
42
44
locally_trusted: d.is_locally_trusted(),
43
45
cross_signing_trusted: d.is_cross_signing_trusted(),
46
first_time_seen_ts: d.first_time_seen_ts().0.into(),
47
+ dehydrated: d.is_dehydrated(),
48
49
50
0 commit comments