From 6503eceb7e98cba12a7a3b383ad3626aa796458c Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Mon, 30 Dec 2024 22:09:37 +0100 Subject: [PATCH] Revert "disable relay chat" This reverts commit 50783f8559a2a5521a907e45d569656d9fea3056. --- ui/analyse/src/view/components.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/analyse/src/view/components.ts b/ui/analyse/src/view/components.ts index 652eb4979c0ac..88b7f03fe34dc 100644 --- a/ui/analyse/src/view/components.ts +++ b/ui/analyse/src/view/components.ts @@ -394,7 +394,7 @@ export const addChapterId = (study: StudyCtrl | undefined, cssClass: string) => cssClass + (study && study.data.chapter ? '.' + study.data.chapter.id : ''); export function makeChatEl(ctrl: AnalyseCtrl, insert: (chat: HTMLElement) => void) { - if (ctrl.opts.chat && !ctrl.study?.relay) { + if (ctrl.opts.chat) { const chatEl = document.createElement('section'); chatEl.classList.add('mchat'); insert(chatEl);