mirror of
https://github.com/ouchadam/small-talk.git
synced 2025-02-16 12:10:45 +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(
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user