peertube-plugin-livechat/conversejs/custom/templates/muc-chatarea.js
John Livingston 51b603c894
Switch from Converse v10.1.6 to upstream (unreleased v11):
* various WIP to change the Converse version
2024-07-11 17:53:50 +02:00

18 lines
537 B
JavaScript

// SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
//
// SPDX-License-Identifier: AGPL-3.0-only
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`<livechat-converse-muc-task-app .model=${o.model}></livechat-converse-muc-task-app>`
: ''
}
${tplMUCChatarea(o)}`
}