unmute method
- ChatId id
Unmutes the Chat with the provided id
.
Implementation
Future<void> unmute(ChatId id) async {
final RxChat? chat = chats.remove(id);
try {
await _chatService.toggleChatMute(id, null);
} catch (e) {
MessagePopup.error(e);
if (chat != null) {
chats[id] = chat;
}
}
}