mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Fixed!
This commit is contained in:
parent
12c4f3c6f7
commit
9d225b7826
1 changed files with 2 additions and 3 deletions
|
@ -389,9 +389,8 @@ internal class UploadContentWorker(val context: Context, params: WorkerParameter
|
|||
videoInfo = videoInfo?.copy(
|
||||
thumbnailUrl = if (thumbnailEncryptedFileInfo == null) thumbnailUrl else null,
|
||||
thumbnailFile = thumbnailEncryptedFileInfo?.copy(url = thumbnailUrl),
|
||||
// FIXME for now, the video size is not updated, but if it was, this code is not working.
|
||||
// width = newAttachmentAttributes?.newWidth ?: videoInfo.width,
|
||||
// height = newAttachmentAttributes?.newHeight ?: videoInfo.height,
|
||||
width = newAttachmentAttributes?.newWidth ?: videoInfo.width,
|
||||
height = newAttachmentAttributes?.newHeight ?: videoInfo.height,
|
||||
size = newAttachmentAttributes?.newFileSize ?: videoInfo.size
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue