MXKMediaManager has been moved to SDK level

This commit is contained in:
giomfo
2016-12-01 14:55:29 +01:00
parent e3f4f1ba65
commit 8d0be55806
6 changed files with 13 additions and 13 deletions
@@ -80,8 +80,8 @@
UIImage *preview = nil;
if (bubbleData.attachment.previewURL)
{
NSString *cacheFilePath = [MXKMediaManager cachePathForMediaWithURL:bubbleData.attachment.previewURL andType:mimetype inFolder:self.attachmentImageView.mediaFolder];
preview = [MXKMediaManager loadPictureFromFilePath:cacheFilePath];
NSString *cacheFilePath = [MXMediaManager cachePathForMediaWithURL:bubbleData.attachment.previewURL andType:mimetype inFolder:self.attachmentImageView.mediaFolder];
preview = [MXMediaManager loadPictureFromFilePath:cacheFilePath];
}
if (url.length || preview)