23 lines
748 B
JavaScript
23 lines
748 B
JavaScript
import '../chatarea.js';
|
|
import '../config-form.js';
|
|
import '../destroyed.js';
|
|
import '../disconnected.js';
|
|
import '../heading.js';
|
|
import '../nickname-form.js';
|
|
import '../password-form.js';
|
|
import { html } from "lit";
|
|
import { getChatRoomBodyTemplate } from '../utils.js';
|
|
|
|
|
|
export default (o) => {
|
|
return html`
|
|
<div class="flyout box-flyout">
|
|
<converse-dragresize></converse-dragresize>
|
|
${ o.model ? html`
|
|
<converse-muc-heading jid="${o.model.get('jid')}" class="chat-head chat-head-chatroom row no-gutters">
|
|
</converse-muc-heading>
|
|
<div class="chat-body chatroom-body row no-gutters">${getChatRoomBodyTemplate(o)}</div>
|
|
` : '' }
|
|
</div>`;
|
|
}
|