RocketChat/Rocket.Chat

View on GitHub
apps/meteor/server/lib/rooms/roomCoordinator.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function add has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    add(roomConfig: IRoomTypeConfig, directives: Partial<IRoomTypeServerDirectives>): void {
        this.addRoomType(roomConfig, {
            allowRoomSettingChange(_room: IRoom, _setting: ValueOf<typeof RoomSettingsEnum>) {
                return true;
            },
Severity: Major
Found in apps/meteor/server/lib/rooms/roomCoordinator.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status