import { __ } from 'i18n'; import { html } from "lit"; import { repeat } from 'lit/directives/repeat.js'; import spinner from "templates/spinner.js"; const form = (o) => { const i18n_query = __('Show groupchats'); const i18n_server_address = __('Server address'); return html`
`; } const tplItem = (o, item) => { const i18n_info_title = __('Show more information on this groupchat'); const i18n_open_title = __('Click to open this groupchat'); return html`
  • ${item.name || item.jid}
  • `; } export default (o) => { return html` ${o.show_form ? form(o) : '' } `; }