Skip to content

Commit

Permalink
fix resolution of people in physical auditoriums (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Shay authored Jan 24, 2024
1 parent 25c042b commit ee80e11
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Conference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -699,10 +699,9 @@ export class Conference {
public async getPeopleForAuditorium(auditorium: Auditorium): Promise<IPerson[]> {
const audit = await auditorium.getDefinition();
const people: IPerson[] = [];
for (const t of Object.values(this.talks)) {
const talk = await t.getDefinition();
if (talk.auditoriumId == audit.id) {
people.push(...talk.speakers);
for (const t of this.backend.talks.values()) {
if (t.auditoriumId == audit.id) {
people.push(...t.speakers);
}
}
return people;
Expand Down

0 comments on commit ee80e11

Please sign in to comment.