filter group peers without http request

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-06-21 09:30:32 +08:00
parent af309096c9
commit ec9062f505
4 changed files with 108 additions and 91 deletions

View File

@@ -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});
}
}