超级礼物

This commit is contained in:
liyuhua
2024-03-25 14:39:36 +08:00
parent 6f75c535c1
commit 17346ffedf
34 changed files with 270 additions and 589 deletions

View File

@@ -70,7 +70,11 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
- (void) IMLSDKWillRestoreScene:(MLSDKScene *)scene Restore:(void (^)(BOOL, RestoreStyle))restoreHandler
{
NSString *inviteCode = scene.params[@"inviteCode"];
if (inviteCode != nil && [[AccountInfoStorage instance]getUid].length == 0){
ClientConfig *config = [ClientConfig shareConfig];
config.inviteCode = inviteCode;
}
restoreHandler(YES, MLDefault);