渠道新用户进房自动打招呼
This commit is contained in:
@@ -521,6 +521,9 @@ UIKIT_EXTERN NSString * const kRoomMiniNotificationKey;
|
||||
[[XPRoomMiniManager shareManager] configUserInfo:nil];
|
||||
[[XPRoomMiniManager shareManager] configCurrentMusic:nil isPlaying:NO];
|
||||
}
|
||||
if (userInfo.fromSayHelloChannel) {///渠道新用户打招呼
|
||||
[self.presenter getNewUserStartGreet:[NSString stringWithFormat:@"%ld", roomInfo.uid]];
|
||||
}
|
||||
} else { // 房间无效,分是否为自己房间进行处理
|
||||
if ([self.roomUid isEqualToString:[NSString stringWithFormat:@"%ld", userInfo.uid]]) { // 当前用户进入自己房间
|
||||
if (roomInfo.roomId > 0) { // 存在房间信息,直接使用房间信息开房
|
||||
@@ -580,6 +583,11 @@ UIKIT_EXTERN NSString * const kRoomMiniNotificationKey;
|
||||
self.isRequestSuperAdmin = YES;
|
||||
self.superMangerList = list;
|
||||
}
|
||||
|
||||
- (void)getNewUserStartGreetSuccess:(RoomNewUserGreetModel *)info {
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - NIMChatroomManagerDelegate
|
||||
- (void)chatroomBeKicked:(NIMChatroomBeKickedResult *)result {
|
||||
if (result.reason == 2) {
|
||||
|
Reference in New Issue
Block a user