Re-enable attachment cleanup migration after fixing it in SSK (#1298)
// FREEBIE
This commit is contained in:
parent
000a5941f4
commit
92b3ea5d25
@ -130,7 +130,7 @@ EXTERNAL SOURCES:
|
||||
|
||||
CHECKOUT OPTIONS:
|
||||
SignalServiceKit:
|
||||
:commit: c14e4bb7b372a8277860f27ebd7eed7637828395
|
||||
:commit: 9aa88f6ce5c16ee36509a8698e191560328aa2e5
|
||||
:git: https://github.com/WhisperSystems/SignalServiceKit.git
|
||||
SocketRocket:
|
||||
:commit: 8096fef47d582bff8ae3758c9ae7af1d55ea53d6
|
||||
|
||||
@ -63,13 +63,10 @@
|
||||
[self clearBloomFilterCache];
|
||||
}
|
||||
|
||||
// Disabled until further stability testing is done. After some local testing, I saw missing attachments. - MJK
|
||||
//
|
||||
// if ([self isVersion:previousVersion atLeast:@"2.0.0" andLessThan:@"2.4.1"] && [TSAccountManager isRegistered])
|
||||
// {
|
||||
// DDLogInfo(@"Running migration: removing orphaned data.");
|
||||
// [[OWSOrphanedDataCleaner new] removeOrphanedData];
|
||||
// }
|
||||
if ([self isVersion:previousVersion atLeast:@"2.0.0" andLessThan:@"2.4.1"] && [TSAccountManager isRegistered]) {
|
||||
DDLogInfo(@"Running migration: removing orphaned data.");
|
||||
[[OWSOrphanedDataCleaner new] removeOrphanedData];
|
||||
}
|
||||
|
||||
[Environment.preferences setAndGetCurrentVersion];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user