From 5cedf1a96302c1542a640bc3980536bb87abfd29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 5 May 2020 13:50:48 +0200 Subject: [PATCH] keys: Make the device display name optional. --- src/r0/keys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r0/keys.rs b/src/r0/keys.rs index 0d53dea5..73f3eb25 100644 --- a/src/r0/keys.rs +++ b/src/r0/keys.rs @@ -134,7 +134,7 @@ pub struct DeviceKeys { #[derive(Debug, Clone, Serialize, Deserialize)] pub struct UnsignedDeviceInfo { /// The display name which the user set on the device. - pub device_display_name: String, + pub device_display_name: Option, } /// A key for the SignedCurve25519 algorithm