|
|
@ -107,9 +107,7 @@ static const CGFloat kAttachmentUploadProgressTheta = 0.001f;
|
|
|
|
DDLogInfo(@"%@ Uploaded attachment: %p.", self.tag, attachmentStream);
|
|
|
|
DDLogInfo(@"%@ Uploaded attachment: %p.", self.tag, attachmentStream);
|
|
|
|
attachmentStream.serverId = serverId;
|
|
|
|
attachmentStream.serverId = serverId;
|
|
|
|
attachmentStream.isUploaded = YES;
|
|
|
|
attachmentStream.isUploaded = YES;
|
|
|
|
[attachmentStream save];
|
|
|
|
[attachmentStream saveAsyncWithCompletionBlock:successHandlerWrapper];
|
|
|
|
|
|
|
|
|
|
|
|
successHandlerWrapper();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
failure:failureHandlerWrapper];
|
|
|
|
failure:failureHandlerWrapper];
|
|
|
|
|
|
|
|
|
|
|
|