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:
@@ -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 массив вложений
|
||||
|
||||
Reference in New Issue
Block a user