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