|
@@ -70,7 +70,7 @@ export class ConnectController extends BasicController {
|
|
|
const isInRoom = await isUserInRoom(roomId, user.userId);
|
|
|
const illegalMaster = this.roomController.roomAssistant.illegalMaster;
|
|
|
if (!this.roomController.roomAssistant.roomMax && isInRoom && this.roomController) {
|
|
|
- console.log("测试-->illegalMaster", illegalMaster);
|
|
|
+ // console.log("测试-->illegalMaster", illegalMaster);
|
|
|
if (illegalMaster) {
|
|
|
console.log("断开存在非法房主");
|
|
|
await removeRoomUser(roomId, userId);
|