remove alias and disable status in peer card sort

This commit is contained in:
rustdesk
2023-03-10 15:25:19 +08:00
parent 0fade39527
commit a6deacb92b
2 changed files with 13 additions and 12 deletions

View File

@@ -14,6 +14,13 @@ class Peer {
String rdpUsername;
bool online = false;
String getId() {
if (alias != '') {
return alias;
}
return id;
}
Peer.fromJson(Map<String, dynamic> json)
: id = json['id'] ?? '',
username = json['username'] ?? '',