forked from GitHub-Mirror/riotX-android
Add some javadoc from Matrix spec and add EncryptedFileInfo where necessary
This commit is contained in:
committed by
Benoit Marty
parent
8e76700c8d
commit
707a4712fc
@ -220,10 +220,10 @@ class MessageItemFactory @Inject constructor(
|
||||
val (maxWidth, maxHeight) = timelineMediaSizeProvider.getMaxSize()
|
||||
val thumbnailData = ImageContentRenderer.Data(
|
||||
filename = messageContent.body,
|
||||
url = messageContent.info?.thumbnailUrl,
|
||||
height = messageContent.info?.height,
|
||||
url = messageContent.videoInfo?.thumbnailUrl,
|
||||
height = messageContent.videoInfo?.height,
|
||||
maxHeight = maxHeight,
|
||||
width = messageContent.info?.width,
|
||||
width = messageContent.videoInfo?.width,
|
||||
maxWidth = maxWidth
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user