Fix spurious assert.

pull/1/head
Matthew Chen 7 years ago
parent ee74691e80
commit 894fd1379c

@ -1447,7 +1447,6 @@ typedef void (^ProfileManagerFailureBlock)(NSError *error);
- (void)updateProfileAvatarCache:(nullable UIImage *)image filename:(NSString *)filename - (void)updateProfileAvatarCache:(nullable UIImage *)image filename:(NSString *)filename
{ {
OWSAssertDebug(filename.length > 0); OWSAssertDebug(filename.length > 0);
OWSAssertDebug(image);
@synchronized(self.profileAvatarImageCache) @synchronized(self.profileAvatarImageCache)
{ {

Loading…
Cancel
Save