mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix link preview migration issue
This commit is contained in:
parent
000249b744
commit
c8dfa377bd
2 changed files with 5 additions and 1 deletions
|
@ -166,6 +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.
|
||||
[NSKeyedUnarchiver setClass:OWSLinkPreview.class forClassName:@"SessionServiceKit.OWSLinkPreview"];
|
||||
|
||||
BOOL isLoggingEnabled;
|
||||
#ifdef DEBUG
|
||||
// Specified at Product -> Scheme -> Edit Scheme -> Test -> Arguments -> Environment to avoid things like
|
||||
|
|
|
@ -79,7 +79,7 @@ const NSUInteger kOversizeTextMessageSizeThreshold = 2 * 1024;
|
|||
[self updateExpiresAt];
|
||||
_quotedMessage = quotedMessage;
|
||||
_linkPreview = linkPreview;
|
||||
_openGroupServerMessageID = -1;
|
||||
_openGroupServerMessageID = 0;
|
||||
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue