Stop running contacts migration

This commit is contained in:
Niels Andriesse 2021-04-08 10:11:52 +10:00
parent 0b645626d1
commit b43f22945c
2 changed files with 2 additions and 4 deletions

View File

@ -58,7 +58,7 @@ public class Contact : NSObject, NSCoding { // NSObject/NSCoding conformance is
public required init?(coder: NSCoder) {
guard let sessionID = coder.decodeObject(forKey: "sessionID") as! String? else { return nil }
self.sessionID = sessionID
self.isTrusted = coder.decodeBool(forKey: "isTrusted")
isTrusted = coder.decodeBool(forKey: "isTrusted")
if let name = coder.decodeObject(forKey: "displayName") as! String? { self.name = name }
if let nickname = coder.decodeObject(forKey: "nickname") as! String? { self.nickname = nickname }
if let profilePictureURL = coder.decodeObject(forKey: "profilePictureURL") as! String? { self.profilePictureURL = profilePictureURL }

View File

@ -25,9 +25,7 @@ NS_ASSUME_NONNULL_BEGIN
// This should all migrations which do NOT qualify as safeBlockingMigrations:
- (NSArray<OWSDatabaseMigration *> *)allMigrations
{
return @[
[SNContactsMigration new]
];
return @[];
}
- (void)assumeAllExistingMigrationsRun