mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fixed voice notes to download with mp3 extension
This commit is contained in:
@@ -982,6 +982,8 @@ export const getFileExtension = (
|
||||
switch (attachment.contentType) {
|
||||
case 'video/quicktime':
|
||||
return 'mov';
|
||||
case 'audio/mpeg':
|
||||
return 'mp3';
|
||||
default:
|
||||
return attachment.contentType.split('/')[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user