2021-03-13 11:37:07 +01:00
|
|
|
import '../chatarea.js';
|
|
|
|
import '../config-form.js';
|
|
|
|
import '../destroyed.js';
|
|
|
|
import '../disconnected.js';
|
2021-02-12 14:55:00 +01:00
|
|
|
import '../heading.js';
|
2021-03-13 11:37:07 +01:00
|
|
|
import '../nickname-form.js';
|
|
|
|
import '../password-form.js';
|
2021-04-14 22:56:59 +02:00
|
|
|
import { html } from "lit";
|
2021-03-26 11:34:36 +01:00
|
|
|
import { getChatRoomBodyTemplate } from '../utils.js';
|
2020-03-18 19:32:03 +01:00
|
|
|
|
2021-03-13 11:37:07 +01:00
|
|
|
|
|
|
|
export default (o) => {
|
|
|
|
return html`
|
|
|
|
<div class="flyout box-flyout">
|
|
|
|
<converse-dragresize></converse-dragresize>
|
|
|
|
<converse-muc-heading jid="${o.model.get('jid')}" class="chat-head chat-head-chatroom row no-gutters"></converse-muc-heading>
|
2021-03-26 11:34:36 +01:00
|
|
|
<div class="chat-body chatroom-body row no-gutters">${getChatRoomBodyTemplate(o)}</div>
|
2020-03-18 16:55:32 +01:00
|
|
|
</div>
|
2021-03-13 11:37:07 +01:00
|
|
|
`;
|
|
|
|
}
|