From e8793d97c5064b04cda8f45faa4f083f549424af Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Thu, 1 Feb 2024 12:17:16 +0000 Subject: [PATCH] Fix schedule widget --- src/commands/WidgetsCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/WidgetsCommand.ts b/src/commands/WidgetsCommand.ts index de0edfa..73e8b4e 100644 --- a/src/commands/WidgetsCommand.ts +++ b/src/commands/WidgetsCommand.ts @@ -32,7 +32,7 @@ export class WidgetsCommand implements ICommand { const baseUrl = this.config.webserver.publicBaseUrl; const audWidget = await LiveWidget.forAuditorium(aud, this.client, avatar, baseUrl); const audLayout = LiveWidget.layoutForAuditorium(audWidget); - const audSchedule = await LiveWidget.scheduleForAuditorium(aud, this.client, avatar, baseUrl); + const audSchedule = await LiveWidget.scheduleForAuditorium(aud, this.client, avatar, this.config.livestream.scheduleUrl); try { await this.client.sendStateEvent(aud.roomId, audWidget.type, audWidget.state_key, audWidget.content);