// SPDX-FileCopyrightText: 2024 John Livingston // // SPDX-License-Identifier: AGPL-3.0-only // FIXME: @stylistic/indent is buggy with strings literrals. /* eslint-disable @stylistic/indent */ import { api } from '@converse/headless' import tplMUCChatarea from '../../src/plugins/muc-views/templates/muc-chatarea.js' import { html } from 'lit' export default (o) => { return html` ${ o?.model && api.settings.get('livechat_task_app_enabled') ? html`` : '' } ${ o?.model && api.settings.get('livechat_note_app_enabled') ? html`` : '' } ${ o?.model && api.settings.get('livechat_mam_search_app_enabled') ? html`` : '' } ${tplMUCChatarea(o)}` }