add group fuc

This commit is contained in:
hrxiang
2021-07-08 18:41:00 +08:00
parent 073b91ba99
commit 3acbacda6d
26 changed files with 536 additions and 141 deletions

View File

@@ -74,4 +74,8 @@ class ConversationInfo {
data['isPinned'] = this.isPinned;
return data;
}
bool get isSingleChat => conversationType == ConversationType.single_chat;
bool get isGroupChat => conversationType == ConversationType.group_chat;
}