починил галочки, закрепленные чаты

This commit is contained in:
Jganenok
2026-05-15 17:02:22 +07:00
parent 62926720ca
commit 4da51faec3
4 changed files with 66 additions and 18 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class CachedContact {
bool get isOfficial => options.contains('OFFICIAL');
bool get isBot => options.contains('BOT');
bool get isServiceAccount => options.contains('SERVICE_ACCOUNT');
bool get isVerified => isOfficial || isBot || isServiceAccount;
bool get isVerified => isOfficial;
factory CachedContact.fromDbRow(Map<String, dynamic> row) => CachedContact(
id: row['id'] as int,