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
1 changed files with 2 additions and 0 deletions

View File

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