mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +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…
Reference in New Issue
Block a user