import { __ } from '../i18n'; import { html } from "lit-html"; const tpl_moved = (jid) => { const i18n_moved = __('The conversation has moved. Click below to enter.'); return html`

${i18n_moved}

`; } export default (jid, reason) => { const i18n_non_existent = __('This groupchat no longer exists'); return html`

${i18n_non_existent}

${ reason ? html`

"${reason}"

` : '' } ${ jid ? tpl_moved(jid) : '' }
`; }