From 94e9e7e313ff8ec03f92fed982c3f585ef7a11c1 Mon Sep 17 00:00:00 2001 From: Daniele Ricci Date: Sun, 29 Mar 2020 18:54:39 +0200 Subject: [PATCH] M4A files are also accepted Signed-off-by: Daniele Ricci --- app/src/main/java/org/kontalk/message/AudioComponent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/kontalk/message/AudioComponent.java b/app/src/main/java/org/kontalk/message/AudioComponent.java index f34cf72bf..0cfad47f7 100644 --- a/app/src/main/java/org/kontalk/message/AudioComponent.java +++ b/app/src/main/java/org/kontalk/message/AudioComponent.java @@ -40,6 +40,7 @@ public class AudioComponent extends AttachmentComponent { MIME_TYPES.put("audio/3gpp", "3gp"); MIME_TYPES.put("audio/mpeg", "mp3"); MIME_TYPES.put("audio/mp4", "mp4"); + MIME_TYPES.put("audio/m4a", "m4a"); MIME_TYPES.put("audio/wav", "wav"); MIME_TYPES.put("audio/aac", "aac"); MIME_TYPES.put("audio/flac", "flac");