kopia lustrzana https://github.com/ryukoposting/Signal-Android
Allow video gifs to download as if they were images.
rodzic
dfe804dfa0
commit
ff1c298817
|
@ -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 {
|
||||||
|
|
Ładowanie…
Reference in New Issue