渠道新用户进房自动打招呼

This commit is contained in:
fengshuo
2022-06-06 21:53:09 +08:00
parent eab7fc6274
commit f3778b4c63
12 changed files with 271 additions and 1 deletions

View File

@@ -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) {