apps/meteor/server/lib/rooms/roomCoordinator.ts
Function add
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add(roomConfig: IRoomTypeConfig, directives: Partial<IRoomTypeServerDirectives>): void {
this.addRoomType(roomConfig, {
allowRoomSettingChange(_room: IRoom, _setting: ValueOf<typeof RoomSettingsEnum>) {
return true;
},