Update lib/models/contact.dart

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Winston Lowe 2026-02-15 12:57:49 -08:00 committed by GitHub
parent 3f80ae1cf7
commit 152d5f8bb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -160,6 +160,7 @@ class Contact {
}
static Contact? fromFrame(Uint8List data) {
if (data.isEmpty) return null;
if (data[0] != respCodeContact) return null;
try {
final pubKey = Uint8List.fromList(