diff --git a/test-harness/src/test/kotlin/test/Test.kt b/test-harness/src/test/kotlin/test/Test.kt index 222b06e..7ff5604 100644 --- a/test-harness/src/test/kotlin/test/Test.kt +++ b/test-harness/src/test/kotlin/test/Test.kt @@ -185,6 +185,15 @@ class MatrixTestScope(private val testScope: TestScope) { MessageService.Message.ImageMessage( content = MessageService.Message.Content.ImageContent( 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, sendEncrypted = isEncrypted,