Fix profile avatar downloads.

pull/1/head
Matthew Chen 8 years ago
parent 69c49d4a7b
commit 5e02032fc3

@ -814,6 +814,8 @@ const NSUInteger kOWSProfileManager_MaxAvatarDiameter = 640;
[self.currentAvatarDownloads addObject:userProfile.recipientId];
}
DDLogVerbose(@"%@ downloading profile avatar: %@", self.logTag, userProfile.uniqueId);
NSString *tempDirectory = NSTemporaryDirectory();
NSString *tempFilePath = [tempDirectory stringByAppendingPathComponent:fileName];

Loading…
Cancel
Save