Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove messages to attendees/speakers about "corridor" room #208

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export class Scheduler {
);
} else if (task.type === ScheduledTaskType.TalkEnd) {
if (confTalk !== undefined) {
await this.client.sendHtmlText(confTalk.roomId, `<h3>Your talk has ended - opening up this room to all attendees.</h3><p>@room - They won't see the history in this room.</p>`);
await this.client.sendHtmlText(confTalk.roomId, `<h3>Your talk has ended.</h3>`);
const widget = await LiveWidget.forTalk(confTalk, this.client, this.config.livestream.widgetAvatar, this.config.webserver.publicBaseUrl);
const layout = await LiveWidget.layoutForTalk(widget, null);
const scoreboard = await LiveWidget.scoreboardForTalk(confTalk, this.client, this.conference, this.config.livestream.widgetAvatar, this.config.webserver.publicBaseUrl);
Expand All @@ -397,7 +397,7 @@ export class Scheduler {
await this.client.sendStateEvent(confTalk.roomId, layout.type, layout.state_key, layout.content);
await makeRoomPublic(confTalk.roomId, this.client);
const talkPill = await MentionPill.forRoom(confTalk.roomId, this.client);
await this.client.sendHtmlText(confAud.roomId, `<h3>The talk will end shortly</h3><p>If the speakers are available, they'll be hanging out in ${talkPill.html}</p>`);
await this.client.sendHtmlText(confAud.roomId, `<h3>The talk will end shortly</h3>`);
} else {
await this.client.sendHtmlText(confAud.roomId, `<h3>The talk will end shortly</h3>`);
}
Expand Down Expand Up @@ -442,7 +442,7 @@ export class Scheduler {
await this.scoreboard.showQACountdown(confAud.roomId, task.talk.qa_startTime!);
} else if (task.type === ScheduledTaskType.TalkEnd5M) {
if (confTalk !== undefined) {
await this.client.sendHtmlText(confTalk.roomId, `<h3>Your talk ends in about 5 minutes</h3><p>The next talk will start automatically after yours. In 5 minutes, this room will be opened up for anyone to join. They will not be able to see history.</p>`);
await this.client.sendHtmlText(confTalk.roomId, `<h3>Your talk ends in about 5 minutes</h3><p>The next talk will start automatically after yours.</p>`);
}
await this.client.sendHtmlText(confAud.roomId, `<h3>This talk ends in about 5 minutes</h3>` + (task.talk.qa_startTime !== null ? `<p>Ask questions here for the speakers!</p>`: ''));
} else if (task.type === ScheduledTaskType.TalkLivestreamEnd1M && confTalk !== undefined) {
Expand Down
Loading