|
@@ -342,7 +342,8 @@ export class RoomAssistant {
|
|
|
});
|
|
|
} else {
|
|
|
this.room.logger.warn("超出房间上限");
|
|
|
- this.socket.emit("roomMaximum");
|
|
|
+ this.socket.emit(EVENT.roomMaximum);
|
|
|
+ this.socket.broadcast.emit(EVENT.roomMaximum);
|
|
|
}
|
|
|
// await this.notifyUsersChange(roomId, user, true);
|
|
|
} catch (error) {
|