mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
Outgoing Messages Refactoring:
- Apply the MatrixKit changes in the `MXKAttachment` class
This commit is contained in:
@@ -76,13 +76,7 @@
|
||||
}
|
||||
|
||||
NSString *url = bubbleData.attachment.thumbnailURL;
|
||||
|
||||
UIImage *preview = nil;
|
||||
if (bubbleData.attachment.previewURL)
|
||||
{
|
||||
NSString *cacheFilePath = [MXMediaManager cachePathForMediaWithURL:bubbleData.attachment.previewURL andType:mimetype inFolder:self.attachmentImageView.mediaFolder];
|
||||
preview = [MXMediaManager loadPictureFromFilePath:cacheFilePath];
|
||||
}
|
||||
UIImage *preview = bubbleData.attachment.previewImage;
|
||||
|
||||
if (url.length || preview)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user