muteConversation method
Implementation
void muteConversation(ConversationInfo info, bool mute) async {
if (await haveConnectivity()) {
if (info.conversation.type == NIMConversationType.p2p) {
ChatMessageRepo.setNotify(info.targetId, !mute);
} else if (info.conversation.type == NIMConversationType.team ||
info.conversation.type == NIMConversationType.superTeam) {
TeamRepo.updateTeamNotify(info.targetId, mute);
}
}
}