// SPDX-FileCopyrightText: 2013-2024 JC Brand // SPDX-FileCopyrightText: 2024 John Livingston // // SPDX-License-Identifier: MPL-2.0 // SPDX-License-Identifier: AGPL-3.0-only // Must import the original muc.js, because it imports some custom elements files. import '../../src/plugins/muc-views/templates/muc.js' import { getChatRoomBodyTemplate } from '../../src/plugins/muc-views/utils.js' import { html } from 'lit' // Overloading the original muc.js, to add some custom elements. export default (o) => { return html`
${ o.model ? html`
${getChatRoomBodyTemplate(o)}
` : ''}
` }