removeFromContacts method
Removes the user from the contacts list of the authenticated MyUser.
Only meaningful, if this chat is a dialog.
Implementation
Future<void> removeFromContacts() async {
try {
final ChatContactId? contactId = _contactId;
if (contactId != null) {
await _contactService.deleteContact(contactId);
}
} catch (e) {
MessagePopup.error(e);
rethrow;
}
}