aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm')
-rwxr-xr-xexample/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm b/example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm
index 5a3974cc..62db481a 100755
--- a/example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm
+++ b/example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm
@@ -134,6 +134,9 @@
part = [self _partForUniqueID:partUniqueID];
}
+ if (part == nil)
+ continue;
+
NSString * partUniqueID = [part uniqueID];
NSData * data = [[self delegate] MCOMessageView:self dataForPartWithUniqueID:partUniqueID];
if (data == NULL) {