|
@@ -147,11 +147,8 @@ export class RoomService {
|
|
|
type: 'room-maxing',
|
|
|
code: 308,
|
|
|
});
|
|
|
- this.handleKickAction(RoomId, UserId);
|
|
|
- this.logger.warn(
|
|
|
- `308:room-maxing`,
|
|
|
- `308:超员kick--- RoomId:${RoomId}, UserId:${UserId}`,
|
|
|
- );
|
|
|
+ // this.handleKickAction(RoomId, UserId);
|
|
|
+ // this.logger.warn(`308:超员kick--- RoomId:${RoomId}, UserId:${UserId}`);
|
|
|
socket.disconnect(true);
|
|
|
|
|
|
return;
|
|
@@ -160,10 +157,6 @@ export class RoomService {
|
|
|
if (!blockJoin) {
|
|
|
if (!isExist) {
|
|
|
if (!socket.data.banning) {
|
|
|
- this.logger.warn(
|
|
|
- `insertUser::`,
|
|
|
- `${socket.data.user.UserId}当前不是超员。`,
|
|
|
- );
|
|
|
await this.userService.insertUser(socket.data.user);
|
|
|
}
|
|
|
socket.data.banning = false;
|