xmpp.chapril.org-conversejs/src/templates/image.js
JC Brand 32a443408a Bugfix. GIF unfurl images not loading...
and causing `TypeError: this.shouldRenderMedia is not a function`
2022-04-04 16:31:32 +02:00

5 lines
176 B
JavaScript

import { html } from "lit";
import { renderImage } from "shared/directives/image.js";
export default (o) => html`${renderImage(o.src || o.url, o.href, o.onLoad, o.onClick)}`;