android: add chat media attachment rendering and viewer
Some checks failed
CI / test (push) Failing after 2m6s

This commit is contained in:
Codex
2026-03-09 12:53:08 +03:00
parent 946b85a18f
commit 5760a0cb3f
15 changed files with 255 additions and 31 deletions

View File

@@ -55,9 +55,9 @@ class MessageDaoTest {
val chat20 = dao.observeRecentMessages(chatId = 20).first()
assertEquals(1, chat10.size)
assertEquals(3L, chat10.first().id)
assertEquals(3L, chat10.first().message.id)
assertEquals(1, chat20.size)
assertEquals(2L, chat20.first().id)
assertEquals(2L, chat20.first().message.id)
}
private fun message(id: Long, chatId: Long, text: String): MessageEntity {