We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3de2020 commit 308bdb2Copy full SHA for 308bdb2
1 file changed
src/crons/websocket/room.key.generator.ts
@@ -9,12 +9,14 @@ export class RoomKeyGenerator {
9
dtoClass: Function,
10
): string[] {
11
const allowedKeys = this.getKeys(dtoClass);
12
+ // Collect active filters based on allowed keys and provided data
13
const activeFilters = this.collectActiveFilters(allowedKeys, data);
14
15
if (activeFilters.length === 0) {
16
return [];
17
}
18
19
+ // Generate all combinations of room keys based on active filters
20
return this.buildRoomKeys(prefix, activeFilters);
21
22
0 commit comments