mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
filter group peers without http request
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -48,7 +48,7 @@ class PeerPayload {
|
||||
note = json['note'] ?? '';
|
||||
|
||||
static Peer toPeer(PeerPayload p) {
|
||||
return Peer.fromJson({"id": p.id});
|
||||
return Peer.fromJson({"id": p.id, "username": p.user_name});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user