房间PK一开始 点击加入和排麦的时候toast
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#import "ClientConfig.h"
|
||||
#import "NetImageView.h"
|
||||
#import "TTPopup.h"
|
||||
#import "XCHUDTool.h"
|
||||
///Model
|
||||
#import "UserInfoModel.h"
|
||||
#import "RoomInfoModel.h"
|
||||
@@ -355,6 +356,10 @@
|
||||
}
|
||||
|
||||
- (void)didTapJoinDatingRecognizer {
|
||||
if (self.hostDelegate.getRoomInfo.roomModeType == RoomModeType_Open_PK_Mode && self.hostDelegate.isRoomPKPlaying) {
|
||||
[XCHUDTool showErrorWithMessage:@"PK已开始暂时无法排麦"];
|
||||
return;
|
||||
}
|
||||
NIMChatroomMembersByIdsRequest *request = [[NIMChatroomMembersByIdsRequest alloc]init];
|
||||
request.roomId = [NSString stringWithFormat:@"%ld", self.hostDelegate.getRoomInfo.roomId];
|
||||
request.userIds = @[[AccountInfoStorage instance].getUid];
|
||||
|
Reference in New Issue
Block a user