fix ancient matrix-nio bot compat with e2ee reqs

Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
June Clementine Strawberry 2025-04-03 10:58:44 -04:00
parent ea12786571
commit 80bcb24b1f
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ pub struct Response {
/// If any remote homeservers could not be reached, they are recorded here.
///
/// The names of the properties are the names of the unreachable servers.
#[serde(default, skip_serializing_if = "BTreeMap::is_empty")]
#[serde(default)]
pub failures: BTreeMap<String, JsonValue>,
/// One-time keys for the queried devices.

View file

@ -44,7 +44,7 @@ pub struct Response {
/// If any remote homeservers could not be reached, they are recorded here.
///
/// The names of the properties are the names of the unreachable servers.
#[serde(default, skip_serializing_if = "BTreeMap::is_empty")]
#[serde(default)]
pub failures: BTreeMap<String, JsonValue>,
/// One-time keys for the queried devices.

View file

@ -56,7 +56,7 @@ pub mod v3 {
/// If any remote homeservers could not be reached, they are recorded here.
///
/// The names of the properties are the names of the unreachable servers.
#[serde(default, skip_serializing_if = "BTreeMap::is_empty")]
#[serde(default)]
pub failures: BTreeMap<String, JsonValue>,
/// Information on the queried devices.