yperess
mainHandler.post { if (messages.removeIf { it.id == messageId }) messagesLiveData.value = messages }