Skip to content

Commit

Permalink
Make sure we initialise the array
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Feb 1, 2024
1 parent df3570f commit 9981066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Conference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class Conference {
[personId: string]: IPerson;
} = {};

private membersInRooms: Record<string, string[]>;
private membersInRooms: Record<string, string[]> = {};

private memberRecalculationPromise = Promise.resolve();
private membershipRecalculationQueue: string[] = [];
Expand Down

0 comments on commit 9981066

Please sign in to comment.