Fix Giphy link previews

This commit is contained in:
Niels Andriesse 2019-10-23 11:20:14 +11:00
parent e945541315
commit ec5ce16fbe
2 changed files with 1 additions and 1 deletions

View file

@ -340,7 +340,6 @@ public class OWSLinkPreview: MTLModel {
"media2.giphy.com",
"media3.giphy.com",
"gph.is"
]
// For media domains, we DO NOT require an exact match - subdomains are allowed.

View file

@ -89,6 +89,7 @@ NSString *const kSyncMessageFileExtension = @"bin";
@"image/x-tiff" : @"tif",
@"image/bmp" : @"bmp",
@"image/x-windows-bmp" : @"bmp",
@"image/gif" : @"gif"
};
});
return result;