import { __ } from 'i18n';
import { api } from "@converse/headless/core";
import { html } from "lit-html";
const tpl_pending_contact = o => html`${o.display_name}`;
export default (o) => {
const i18n_remove = __('Click to remove %1$s as a contact', o.display_name);
return html`
${ api.settings.get('allow_chat_pending_contacts') ? html`${tpl_pending_contact(o)}` : tpl_pending_contact(o) };
`;
}