Update sync_events::DeviceLists field types
This commit is contained in:
parent
6d93ec1d1a
commit
b5fa684dfc
@ -8,6 +8,7 @@ Breaking changes:
|
|||||||
|
|
||||||
* The `event_id` in the response for the message and state sending endpoints is now required
|
* The `event_id` in the response for the message and state sending endpoints is now required
|
||||||
* r0.6.0 doesn't say they are required, but this has been fixed for the next version of the spec
|
* r0.6.0 doesn't say they are required, but this has been fixed for the next version of the spec
|
||||||
|
* Updated the type of `r0::sync::sync_events::DeviceLists` fields
|
||||||
|
|
||||||
Improvements:
|
Improvements:
|
||||||
|
|
||||||
|
@ -330,12 +330,12 @@ pub struct DeviceLists {
|
|||||||
/// List of users who have updated their device identity keys or who now
|
/// List of users who have updated their device identity keys or who now
|
||||||
/// share an encrypted room with the client since the previous sync
|
/// share an encrypted room with the client since the previous sync
|
||||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||||
pub changed: Vec<String>,
|
pub changed: Vec<UserId>,
|
||||||
|
|
||||||
/// List of users who no longer share encrypted rooms since the previous sync
|
/// List of users who no longer share encrypted rooms since the previous sync
|
||||||
/// response.
|
/// response.
|
||||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||||
pub left: Vec<String>,
|
pub left: Vec<UserId>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user