peertube-plugin-livechat/conversejs/custom/templates/muc-chatarea.js
John Livingston 9ef71c07dd
Task lists WIP:
* remember if task app was open, and restore when in fullpage mode
* refactoring
2024-05-13 10:53:42 +02:00

14 lines
414 B
JavaScript

import { api } from '@converse/headless/core'
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)}`
}