Skip to content

Commit

Permalink
Merge branch 'main' into rei/fd2024_e_sch_debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot authored Feb 2, 2024
2 parents 311cc85 + a880e81 commit d021a7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,9 @@ export class Scheduler {
const resolved = (await resolveIdentifiers(this.client, userIds)).filter(p => p.mxid).map(p => p.mxid!);
await this.checkins.expectCheckinFrom(resolved);
}
} else if (task.type === ScheduledTaskType.TalkStart5M && confTalk !== undefined) {
} else if (task.type === ScheduledTaskType.TalkStart5M) {
if (confTalk === undefined) return;

if (!task.talk.prerecorded) {
await this.client.sendHtmlText(confTalk.roomId, `<h3>Your talk starts in about 5 minutes</h3><p><b>Your talk is not pre-recorded.</b> Your talk's full duration will be Q&A.</p>`);
} else {
Expand Down

0 comments on commit d021a7f

Please sign in to comment.