2021-07-07 14:59:29 +02:00
|
|
|
import { html } from "lit";
|
|
|
|
import 'shared/components/gif.js';
|
|
|
|
|
2021-08-02 18:30:59 +02:00
|
|
|
export default (url, hide_url) =>
|
|
|
|
html`<converse-gif autoplay noloop fallback='empty' src=${url}></converse-gif>${ hide_url ? '' : html`<a target="_blank" rel="noopener" href="${url}">${url}</a>` }`;
|