mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +00:00
Fix file push media constraint
// FREEBIE
This commit is contained in:
parent
e4ac1b8dde
commit
66d1d88686
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user