被踢重进个播房bug修复
This commit is contained in:
@@ -740,15 +740,15 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
|
|||||||
self.hasAnimationEffect = roomInfo.hasAnimationEffect;
|
self.hasAnimationEffect = roomInfo.hasAnimationEffect;
|
||||||
self.roomInfo = roomInfo;
|
self.roomInfo = roomInfo;
|
||||||
self.userInfo = userInfo;
|
self.userInfo = userInfo;
|
||||||
|
//判断5分钟内是否被踢出过房间
|
||||||
|
if ([self isKictOutLatest:roomInfo]) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (roomInfo.type == RoomType_Anchor) {//个播房,获取下一个房间
|
if (roomInfo.type == RoomType_Anchor) {//个播房,获取下一个房间
|
||||||
[self handleInitAnchorRoom];
|
[self handleInitAnchorRoom];
|
||||||
[self showAnchorScrollTipView];
|
[self showAnchorScrollTipView];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//判断5分钟内是否被踢出过房间
|
|
||||||
if ([self isKictOutLatest:roomInfo]) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (roomInfo.valid) { // 房间有效,直接进入房间
|
if (roomInfo.valid) { // 房间有效,直接进入房间
|
||||||
if (roomInfo.roomPwd.length > 0 && roomInfo.uid != [AccountInfoStorage instance].getUid.integerValue && [XPRoomMiniManager shareManager].getRoomInfo.uid != self.roomUid.integerValue) {//进房密码的情况
|
if (roomInfo.roomPwd.length > 0 && roomInfo.uid != [AccountInfoStorage instance].getUid.integerValue && [XPRoomMiniManager shareManager].getRoomInfo.uid != self.roomUid.integerValue) {//进房密码的情况
|
||||||
if (!self.isRequestSuperAdmin) {
|
if (!self.isRequestSuperAdmin) {
|
||||||
|
Reference in New Issue
Block a user