mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-11 18:47:47 +00:00
remove alias and disable status in peer card sort
This commit is contained in:
@@ -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'] ?? '',
|
||||
|
||||
Reference in New Issue
Block a user