Brett
2024-09-29 17:27:30 +08:00
parent 9f57971ee9
commit 6a446a7b33
39 changed files with 853 additions and 1079 deletions

View File

@@ -115,16 +115,11 @@ class GroupInfo {
}
/// Corresponding Conversation Type for Group Type
int get sessionType => groupType == GroupType.general
? ConversationType.group
: ConversationType.superGroup;
int get sessionType => groupType == GroupType.general ? ConversationType.group : ConversationType.superGroup;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is GroupInfo &&
runtimeType == other.runtimeType &&
groupID == other.groupID;
identical(this, other) || other is GroupInfo && runtimeType == other.runtimeType && groupID == other.groupID;
@override
int get hashCode => groupID.hashCode;