房间内PK非管理员点击pk面板的时候弹出报名
This commit is contained in:
@@ -294,7 +294,7 @@
|
||||
#pragma mark - 房间PK
|
||||
- (void)configRoomPKPanelView:(BOOL)isEnter {
|
||||
RoomInfoModel * roomInfo = self.delegate.getRoomInfo;
|
||||
self.roompkPanelView.roomId = [NSString stringWithFormat:@"%ld", roomInfo.roomId];
|
||||
self.roompkPanelView.roomInfo = roomInfo;
|
||||
if (roomInfo.roomModeType == RoomModeType_Open_PK_Mode) {
|
||||
if (!self.roompkPanelView.superview) {
|
||||
[self addSubview:self.roompkPanelView];
|
||||
@@ -303,12 +303,10 @@
|
||||
make.top.mas_equalTo(self).offset(35 + (58 + 5 + 6 + 12) + 38 + (55 + 10 + 12 + 5+16) * 2 + 15 * 2 + kNavigationHeight + 5);
|
||||
}];
|
||||
}
|
||||
NSString * roomId = [NSString stringWithFormat:@"%ld", roomInfo.roomId];
|
||||
if (isEnter) {
|
||||
self.roompkPanelView.roomUid = [NSString stringWithFormat:@"%ld", roomInfo.uid];
|
||||
self.roompkPanelView.roomId = roomId;
|
||||
[self.roompkPanelView enterRoomGetRoomPKDetailInfo];
|
||||
}
|
||||
NSString * roomId = [NSString stringWithFormat:@"%ld", roomInfo.roomId];
|
||||
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||
NIMChatroomMembersByIdsRequest *request = [[NIMChatroomMembersByIdsRequest alloc]init];
|
||||
request.roomId = roomId;
|
||||
|
Reference in New Issue
Block a user