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())
|
||||
{
|
||||
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 {
|
||||
|
|
Ładowanie…
Reference in New Issue