开启青少年模式后退出房间
This commit is contained in:
@@ -635,6 +635,11 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
||||
for (BaseViewController *vc in self.viewControllers) {
|
||||
vc.parentMode = self.parentMode;
|
||||
}
|
||||
if ([XPRoomMiniManager shareManager].getRoomInfo && self.parentMode) {
|
||||
[[RtcManager instance] exitRoom];
|
||||
[[NIMSDK sharedSDK].chatroomManager exitChatroom:[NSString stringWithFormat:@"%ld", [XPRoomMiniManager shareManager].getRoomInfo.roomId] completion:nil];
|
||||
[self.roomMineView hiddenRoomMiniView];
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)canShowAnchorCard {
|
||||
|
Reference in New Issue
Block a user