|
|
@ -809,7 +809,7 @@ const UIDataDetectorTypes kOWSAllowedDataDetectorTypes
|
|
|
|
- (UIView *)loadViewForMedia
|
|
|
|
- (UIView *)loadViewForMedia
|
|
|
|
{
|
|
|
|
{
|
|
|
|
OWSAssertDebug(self.attachmentStream);
|
|
|
|
OWSAssertDebug(self.attachmentStream);
|
|
|
|
OWSAssertDebug([self.attachmentStream isImage]);
|
|
|
|
OWSAssertDebug([self.attachmentStream isVisualMedia]);
|
|
|
|
|
|
|
|
|
|
|
|
ConversationMediaView *mediaView =
|
|
|
|
ConversationMediaView *mediaView =
|
|
|
|
[[ConversationMediaView alloc] initWithMediaCache:self.cellMediaCache attachment:self.attachmentStream];
|
|
|
|
[[ConversationMediaView alloc] initWithMediaCache:self.cellMediaCache attachment:self.attachmentStream];
|
|
|
|