mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-24 03:35:58 +00:00
Allow video gifs to download as if they were images.
This commit is contained in:
@@ -46,6 +46,8 @@ public class AttachmentUtil {
|
||||
attachment.isSticker())
|
||||
{
|
||||
return true;
|
||||
} else if (attachment.isVideoGif()) {
|
||||
return NotInCallConstraint.isNotInConnectedCall() && allowedTypes.contains("image");
|
||||
} else if (isNonDocumentType(contentType)) {
|
||||
return NotInCallConstraint.isNotInConnectedCall() && allowedTypes.contains(MediaUtil.getDiscreteMimeType(contentType));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user