|
|
@ -712,12 +712,15 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
{
|
|
|
|
{
|
|
|
|
OWSAssert(attachmentView);
|
|
|
|
OWSAssert(attachmentView);
|
|
|
|
OWSAssert(attachmentStateCallback);
|
|
|
|
OWSAssert(attachmentStateCallback);
|
|
|
|
|
|
|
|
OWSAssert(self.attachmentStream);
|
|
|
|
|
|
|
|
|
|
|
|
if (self.isOutgoing) {
|
|
|
|
if (self.isOutgoing) {
|
|
|
|
|
|
|
|
if (!self.attachmentStream.isUploaded) {
|
|
|
|
self.attachmentUploadView = [[AttachmentUploadView alloc] initWithAttachment:self.attachmentStream
|
|
|
|
self.attachmentUploadView = [[AttachmentUploadView alloc] initWithAttachment:self.attachmentStream
|
|
|
|
superview:attachmentView
|
|
|
|
superview:attachmentView
|
|
|
|
attachmentStateCallback:attachmentStateCallback];
|
|
|
|
attachmentStateCallback:attachmentStateCallback];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
- (void)cropViewToBubbbleShape:(UIView *)view
|
|
|
|
- (void)cropViewToBubbbleShape:(UIView *)view
|
|
|
|