feat: Enhance message handling and emoji picker

- Update MessageEntity to clarify encryption of plainMessage.
- Introduce ERROR status in MessageStatus for handling message send failures.
- Implement message delivery timeout logic in ChatDetailScreen.
- Add retry and delete functionality for failed messages in ChatViewModel.
- Improve message decryption process in ChatViewModel to handle various scenarios.
- Refactor emoji categories in AppleEmojiPicker to align with Unicode standards and improve sorting.
This commit is contained in:
k1ngsterr1
2026-01-13 16:05:42 +05:00
parent 764127c093
commit 42b1cdd79a
5 changed files with 551 additions and 113 deletions

View File

@@ -49,7 +49,7 @@ data class MessageEntity(
val messageId: String, // UUID сообщения
@ColumnInfo(name = "plain_message")
val plainMessage: String, // Расшифрованный текст (для быстрого доступа)
val plainMessage: String, // 🔒 Зашифрованный текст (encryptWithPassword) для хранения в БД
@ColumnInfo(name = "attachments")
val attachments: String = "[]", // JSON массив вложений