keys: Make the device display name optional.

This commit is contained in:
Damir Jelić 2020-05-05 13:50:48 +02:00
parent 56f2054df5
commit 5cedf1a963

View File

@ -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