xmpp.chapril.org-conversejs/src/shared/chat/templates
JC Brand 366932e999 Allow render_media setting to be an array of domains
This allows for more flexibility in configuring which media URLs will
automatically render and which media URLs may be manually rendered by
the user (via the message actions dropdown).

For example, suppose you want to automatically render all media URLs
from https://xmpp.org, but still allow other media (which won't render
by default) to be rendered manually by the user (by clicking the "Show
URL previews" message dropdown action).

In this case, you set `render_media` to `['xmpp.org']` and
`allowed_image_domains` to `null` or `undefined`.

Or if you want to automatically render images from xmpp.org, and
restrict the domains users might manually click to render, you can add
those extra domains to `allowed_image_domains`.
2021-09-30 16:30:30 +02:00
..
emoji-picker.js Upgrade to Webpack 3 2021-04-30 13:50:50 +02:00
info-message.js Register a XEP-0316 MEP handler 2021-08-31 11:23:49 +02:00
message-limit.js Create converse-message-form component 2021-06-04 12:53:03 +02:00
message-text.js No need to pass in render_media as a prop 2021-09-29 13:19:00 +02:00
message.js Allow render_media setting to be an array of domains 2021-09-30 16:30:30 +02:00
new-day.js Upgrade to Webpack 3 2021-04-30 13:50:50 +02:00
unfurl.js Allow render_media setting to be an array of domains 2021-09-30 16:30:30 +02:00