Skip to content

Commit

Permalink
fixup! TW-2001: add mimeType for thumbnail when sending video
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn committed Aug 29, 2024
1 parent fcfc8f4 commit 2683dcb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/presentation/extensions/send_file_web_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,7 @@ extension SendFileWebExtension on Room {
.unsigned![fileSendingStatusKey] =
FileSendingStatus.generatingThumbnail.name;
await handleImageFakeSync(fakeImageEvent);
thumbnail ??= await generateVideoThumbnail(
file,
uploadStreamController: uploadStreamController,
);
thumbnail ??= await generateVideoThumbnail(file);
}

EncryptedFile? encryptedFile;
Expand Down

0 comments on commit 2683dcb

Please sign in to comment.