mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-08 09:18:39 +01: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())
|
attachment.isSticker())
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
} else if (attachment.isVideoGif()) {
|
||||||
|
return NotInCallConstraint.isNotInConnectedCall() && allowedTypes.contains("image");
|
||||||
} else if (isNonDocumentType(contentType)) {
|
} else if (isNonDocumentType(contentType)) {
|
||||||
return NotInCallConstraint.isNotInConnectedCall() && allowedTypes.contains(MediaUtil.getDiscreteMimeType(contentType));
|
return NotInCallConstraint.isNotInConnectedCall() && allowedTypes.contains(MediaUtil.getDiscreteMimeType(contentType));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user