|
|
@@ -337,7 +337,7 @@ export class RoomAssistant {
|
|
|
// this.notifyUserJitter(roomId);
|
|
|
} else {
|
|
|
this.room.logger.error("存在非法房主", userId);
|
|
|
- await removeRoomUser(roomId, userId);
|
|
|
+ await removeRoomUser(roomId, `user:${userId}`);
|
|
|
this.socket.broadcast.to(this.room.syncId).emit(EVENT.unKnowError);
|
|
|
}
|
|
|
}
|