xmpp.chapril.org-conversejs/src/plugins/chatview
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
..
styles Fix embedded, singleton mode. 2021-09-24 11:53:49 +02:00
templates Use converse-icon in the converse-dropdown component 2021-07-26 19:27:59 +02:00
tests Allow render_media setting to be an array of domains 2021-09-30 16:30:30 +02:00
bottom-panel.js Use API to get chat/room models in components 2021-06-22 14:47:35 +02:00
chat.js Call initialize in CustomElement's connectedCallback method 2021-09-23 14:25:42 +02:00
heading.js Call initialize in CustomElement's connectedCallback method 2021-09-23 14:25:42 +02:00
index.js Allow media to be invidually shown/rendered... 2021-09-21 17:08:30 +02:00
message-form.js Make sure XEP-0363 urls are also OMEMO encrypted 2021-07-03 00:22:03 +02:00
utils.js Use converse-icon instead of webfonts in heading dropdown 2021-07-27 11:11:36 +02:00