keys: Make the device display name optional.
This commit is contained in:
parent
56f2054df5
commit
5cedf1a963
@ -134,7 +134,7 @@ pub struct DeviceKeys {
|
|||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
pub struct UnsignedDeviceInfo {
|
pub struct UnsignedDeviceInfo {
|
||||||
/// The display name which the user set on the device.
|
/// The display name which the user set on the device.
|
||||||
pub device_display_name: String,
|
pub device_display_name: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A key for the SignedCurve25519 algorithm
|
/// A key for the SignedCurve25519 algorithm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user