Browse Source

存在非法房主-去除

gemercheung 3 years ago
parent
commit
fefd8df632
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/controller/room/assistant.js

+ 1 - 0
src/controller/room/assistant.js

@@ -337,6 +337,7 @@ export class RoomAssistant {
               // this.notifyUserJitter(roomId);
             } else {
               this.room.logger.error("存在非法房主", userId);
+              await removeRoomUser(roomId, userId);
             }
           }
         }