gemercheung 3 lat temu
rodzic
commit
743cab6c5d
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/controller/room/assistant.js

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

@@ -341,7 +341,8 @@ export class RoomAssistant {
           roomsPerson: AllRoomUsers,
           roomsPerson: AllRoomUsers,
         });
         });
       } else {
       } else {
-        this.room.logger.warn("超出房间上限", res.num);
+        this.room.logger.warn("超出房间上限");
+        this.socket.emit("roomMaximum");
       }
       }
       // await this.notifyUsersChange(roomId, user, true);
       // await this.notifyUsersChange(roomId, user, true);
     } catch (error) {
     } catch (error) {