瀏覽代碼

存在非法房主-去除

gemercheung 3 年之前
父節點
當前提交
fefd8df632
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);
             }
           }
         }