client-api: Make the CrossSigningKey serialization invertible
This commit is contained in:
parent
97f3e31ad8
commit
db2f580329
@ -49,7 +49,7 @@ pub struct CrossSigningKey {
|
||||
pub keys: BTreeMap<String, String>,
|
||||
|
||||
/// Signatures of the key. Only optional for master key.
|
||||
#[serde(skip_serializing_if = "BTreeMap::is_empty")]
|
||||
#[serde(default, skip_serializing_if = "BTreeMap::is_empty")]
|
||||
pub signatures: BTreeMap<UserId, BTreeMap<String, String>>,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user