mirror of
https://github.com/ouchadam/small-talk.git
synced 2025-02-19 21:50:48 +01:00
fixing test harness compilation error
This commit is contained in:
parent
511273517e
commit
a396712e8e
@ -185,6 +185,15 @@ class MatrixTestScope(private val testScope: TestScope) {
|
|||||||
MessageService.Message.ImageMessage(
|
MessageService.Message.ImageMessage(
|
||||||
content = MessageService.Message.Content.ImageContent(
|
content = MessageService.Message.Content.ImageContent(
|
||||||
uri = file.absolutePath,
|
uri = file.absolutePath,
|
||||||
|
meta = JavaImageContentReader().meta(file.absolutePath).let {
|
||||||
|
MessageService.Message.Content.ImageContent.Meta(
|
||||||
|
height = it.height,
|
||||||
|
width = it.width,
|
||||||
|
size = it.size,
|
||||||
|
fileName = it.fileName,
|
||||||
|
mimeType = it.mimeType,
|
||||||
|
)
|
||||||
|
}
|
||||||
),
|
),
|
||||||
roomId = roomId,
|
roomId = roomId,
|
||||||
sendEncrypted = isEncrypted,
|
sendEncrypted = isEncrypted,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user