Fix migration

pull/318/head
nielsandriesse 4 years ago
parent a6b99ea17c
commit f920163131

@ -166,9 +166,10 @@ static NSTimeInterval launchStartedAt;
[LKAppModeManager configureWithDelegate:self]; [LKAppModeManager configureWithDelegate:self];
// OWSLinkPreview is now in SessionMessagingKit, so to still be able to deserialize link previews we // OWSLinkPreview and OpenGroup are now in SessionMessagingKit, so to still be able to deserialize them we
// need to tell NSKeyedUnarchiver about the change. // need to tell NSKeyedUnarchiver about the changes.
[NSKeyedUnarchiver setClass:OWSLinkPreview.class forClassName:@"SessionServiceKit.OWSLinkPreview"]; [NSKeyedUnarchiver setClass:OWSLinkPreview.class forClassName:@"SessionServiceKit.OWSLinkPreview"];
[NSKeyedUnarchiver setClass:SNOpenGroup.class forClassName:@"SessionServiceKit.LKPublicChat"];
BOOL isLoggingEnabled; BOOL isLoggingEnabled;
#ifdef DEBUG #ifdef DEBUG

Loading…
Cancel
Save