Skip to content

Commit

Permalink
feat: send ogg as audio
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Jan 17, 2024
1 parent 83fb67d commit dab3a95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6658,7 +6658,7 @@ private static int prepareSendingDocumentInternal(AccountInstance accountInstanc
title = mediaMetadataRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE);
permormer = mediaMetadataRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST);
}
if (editingMessageObject == null && extL.equals("ogg") && MediaController.isOpusFile(f.getAbsolutePath()) == 1) {
if (editingMessageObject == null && extL.equals("opus") && MediaController.isOpusFile(f.getAbsolutePath()) == 1) {
isVoice = true;
}
} catch (Exception e) {
Expand Down

0 comments on commit dab3a95

Please sign in to comment.