Skip to content

Commit

Permalink
Revert "disable relay chat"
Browse files Browse the repository at this point in the history
This reverts commit 50783f8.
  • Loading branch information
ornicar committed Dec 30, 2024
1 parent e99e64a commit 6503ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/analyse/src/view/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6503ece

Please sign in to comment.