Skip to content
Snippets Groups Projects
Commit fb6c8cd9 authored by Taras's avatar Taras
Browse files

Add blurhash to Image/video info

parent 80638f51
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,12 @@ data class ImageInfo(
/**
* Information on the encrypted thumbnail file, as specified in End-to-end encryption. Only present if the thumbnail is encrypted.
*/
@Json(name = "thumbnail_file") val thumbnailFile: EncryptedFileInfo? = null
@Json(name = "thumbnail_file") val thumbnailFile: EncryptedFileInfo? = null,
/**
* Added to support thumbhash blur MSC2448
*/
@Json(name = "blurhash") val blurHash: String? = null
)
/**
......
......@@ -60,7 +60,12 @@ data class VideoInfo(
/**
* Information on the encrypted thumbnail file, as specified in End-to-end encryption. Only present if the thumbnail is encrypted.
*/
@Json(name = "thumbnail_file") val thumbnailFile: EncryptedFileInfo? = null
@Json(name = "thumbnail_file") val thumbnailFile: EncryptedFileInfo? = null,
/**
* Added to support thumbhash blur MSC2448
*/
@Json(name = "blurhash") val blurHash: String? = null
)
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment