From f9201631312d364d9b3633cb029d1687d5a3047d Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Tue, 8 Dec 2020 13:48:18 +1100 Subject: [PATCH] Fix migration --- Session/Signal/AppDelegate.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Session/Signal/AppDelegate.m b/Session/Signal/AppDelegate.m index 6972c9232..2f9843b23 100644 --- a/Session/Signal/AppDelegate.m +++ b/Session/Signal/AppDelegate.m @@ -166,9 +166,10 @@ static NSTimeInterval launchStartedAt; [LKAppModeManager configureWithDelegate:self]; - // OWSLinkPreview is now in SessionMessagingKit, so to still be able to deserialize link previews we - // need to tell NSKeyedUnarchiver about the change. + // OWSLinkPreview and OpenGroup are now in SessionMessagingKit, so to still be able to deserialize them we + // need to tell NSKeyedUnarchiver about the changes. [NSKeyedUnarchiver setClass:OWSLinkPreview.class forClassName:@"SessionServiceKit.OWSLinkPreview"]; + [NSKeyedUnarchiver setClass:SNOpenGroup.class forClassName:@"SessionServiceKit.LKPublicChat"]; BOOL isLoggingEnabled; #ifdef DEBUG