Skip to content

Commit

Permalink
Add the can_join guest access to auditorium spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Jan 18, 2023
1 parent 22e7590 commit 749473b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Conference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,13 @@ export class Conference {
isPublic: true,
name: makeDisplayName(auditorium.name, auditorium.id),
});
// Ensure that the space can be viewed by guest users.
await this.client.sendStateEvent(
audSpace.roomId,
"m.room.guest_access",
"",
{guest_access:"can_join"},
);
} catch (e) {
await logMessage(LogLevel.ERROR, "utils", `Can't create space #${spaceName}: ${e}!`);
throw e;
Expand Down

0 comments on commit 749473b

Please sign in to comment.