Skip to content

Commit

Permalink
Don't send 'ending in 1 min' announcements to physical talks, they're…
Browse files Browse the repository at this point in the history
… more spammy than useful
  • Loading branch information
reivilibre committed Feb 1, 2024
1 parent dce66cc commit 257dca0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ export class Scheduler {
if (confTalk === undefined) return;
await this.client.sendHtmlText(confTalk.roomId, `<h3>Your talk ends in about 1 minute!</h3><p>The next talk will start automatically after yours. Wrap it up!</p>`);
} else if (task.type === ScheduledTaskType.TalkEnd1M) {
// It's a bit spammy for a physical talk.
if (confTalk === undefined) return;
await this.client.sendHtmlText(confAud.roomId, `<h3>This talk ends in about 1 minute!</h3>`);
} else if (task.type === ScheduledTaskType.TalkCheckin45M) {
if (confTalk === undefined) return;
Expand Down

0 comments on commit 257dca0

Please sign in to comment.