房间PK一开始 点击加入和排麦的时候toast

This commit is contained in:
fengshuo
2022-05-29 14:31:00 +08:00
parent 33b9873afd
commit b3c2711ae6
8 changed files with 104 additions and 73 deletions

View File

@@ -122,6 +122,11 @@
}
break;
case XPRoomMenuItemType_ArrangeMic:{
if (self.delegate.getRoomInfo.roomModeType == RoomModeType_Open_PK_Mode && self.delegate.isRoomPKPlaying) {
[XCHUDTool showErrorWithMessage:@"PK已开始暂时无法排麦"];
return;
}
self.arrangeMicButton.selected = NO;
NIMChatroomMembersByIdsRequest *request = [[NIMChatroomMembersByIdsRequest alloc]init];
request.roomId = [NSString stringWithFormat:@"%ld", self.delegate.getRoomInfo.roomId];