fix: implement optimistic UI for image sending and enhance attachment handling
This commit is contained in:
@@ -265,7 +265,8 @@ data class MessageAttachment(
|
||||
val type: AttachmentType,
|
||||
val preview: String = "", // Метаданные: "UUID::metadata" или "filesize::filename"
|
||||
val width: Int = 0,
|
||||
val height: Int = 0
|
||||
val height: Int = 0,
|
||||
val localUri: String = "" // 🚀 Локальный URI для мгновенного отображения (optimistic UI)
|
||||
)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user