Fix file push media constraint

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2017-04-25 10:01:09 -07:00
parent e4ac1b8dde
commit 66d1d88686

View File

@ -165,7 +165,7 @@ public class MediaUtil {
}
public static boolean isFile(Attachment attachment) {
return !isImage(attachment) && !isAudio(attachment) && !isVideo(attachment);
return !isGif(attachment) && !isImage(attachment) && !isAudio(attachment) && !isVideo(attachment);
}
public static boolean hasVideoThumbnail(Uri uri) {