Explorar el Código

存在非法房主-去除

gemercheung hace 3 años
padre
commit
fefd8df632
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);
             }
           }
         }