gemercheung hace 3 años
padre
commit
743cab6c5d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/controller/room/assistant.js

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

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