Disable resetting unreadable storage

Until we have better data on why this occurs, we don't want to risk
blowing users message archive.

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 32aad85a78
commit fe3ec457fa

@ -118,7 +118,8 @@ static NSString *keychainDBPassAccount = @"TSDatabasePass";
OWSAnalyticsCritical(@"Could not load database"); OWSAnalyticsCritical(@"Could not load database");
// Try to reset app by deleting database. // Try to reset app by deleting database.
[self resetSignalStorage]; // Disabled resetting storage until we have better data on why this happens.
// [self resetSignalStorage];
if (![self tryToLoadDatabase]) { if (![self tryToLoadDatabase]) {
OWSAnalyticsCritical(@"Could not load database (second attempt)"); OWSAnalyticsCritical(@"Could not load database (second attempt)");

Loading…
Cancel
Save