add deviceDisplayName

This commit is contained in:
Sorunome 2020-06-21 21:38:26 +02:00
parent b1ec508666
commit 18f8d0db63
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C

View file

@ -316,6 +316,8 @@ class DeviceKeys extends SignableKey {
List<String> algorithms; List<String> algorithms;
String get curve25519Key => keys['curve25519:$deviceId']; String get curve25519Key => keys['curve25519:$deviceId'];
String get deviceDisplayName =>
unsigned != null ? unsigned['device_display_name'] : null;
bool get isValid => bool get isValid =>
userId != null && userId != null &&