handle remote user's profile key has changed

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 72fbb02028
commit 0f9f26a577

@ -540,7 +540,9 @@ const NSUInteger kAES256_KeyByteLength = 32;
if (decryptStatus > 0) { if (decryptStatus > 0) {
return [plaintext copy]; return [plaintext copy];
} else { } else {
OWSFail(@"%@ Decrypt verificaiton failed", self.tag); // This should only happen if the user has changed their profile key, which should only
// happen currently if they re-register.
DDLogError(@"%@ Decrypt verificaiton failed", self.tag);
return nil; return nil;
} }
} }

Loading…
Cancel
Save