diff --git a/lib/src/utils/matrix_file.dart b/lib/src/utils/matrix_file.dart index b51bd1ad..bf4a9575 100644 --- a/lib/src/utils/matrix_file.dart +++ b/lib/src/utils/matrix_file.dart @@ -43,7 +43,7 @@ class MatrixFile { : mimeType = mimeType ?? lookupMimeType(name, headerBytes: bytes) ?? 'application/octet-stream', - name = name.split('/').last.toLowerCase(); + name = name.split('/').last; /// derivatives the MIME type from the [bytes] and correspondingly creates a /// [MatrixFile], [MatrixImageFile], [MatrixAudioFile] or a [MatrixVideoFile]